[email protected] uses babel.config.js for global config. See https://github.com/babel/babel/pull/7358.
[email protected] uses .babelrc.
> Using external babel configuration
> Location: "/app/.babelrc"
I assume this is because [email protected] uses [email protected] and not the latest yet.
Forgot that I am working in a lerna monorepo and that babel.config.js is mostly relevant to monorepos, so .babelrc still makes sense for a basic Next project.
I just pass by to say that I struggled for this some hours xD Is babel7 documented somewhere?
@skyrpex and for future visitors from Google search See https://babeljs.io/docs/en/next/babelconfigjs
Forgot that I am working in a lerna monorepo and that
babel.config.jsis mostly relevant to monorepos, so.babelrcstill makes sense for a basic Next project.
what difference does it make between a basic project and a lerna one?
Most helpful comment
@skyrpex and for future visitors from Google search See https://babeljs.io/docs/en/next/babelconfigjs