pankod/next-boilerplate

View on GitHub
.babelrc

Summary

Maintainability
Test Coverage
{
  "presets": ["next/babel"],
  "plugins": [
    [
      "module-resolver",
      {
        "root": ["./"],
        "alias": {
          "@Actions": "./src/Actions",
          "@Components": "./src/Components",
          "@Definitions": "./src/Definitions",
          "@Interfaces": "./src/Interfaces",
          "@Pages": "./pages",
          "@Reducers": "./src/Redux/Reducers",
          "@Redux": "./src/Redux",
          "@Services": "./src/Services",
          "@Server": "./server",
          "@Static": "./public/static",
          "@Styled": "./src/Styled"
        }
      }
    ],
    [
      "babel-plugin-styled-components",
      {
        "ssr": true
      }
    ]
  ]
}