Skip to content

Document usage of babel.config.js files #1816

@novemberborn

Description

@novemberborn

As of #1798 we support Babel 7 beta 48. This supports a new babel.config.js file.

We need to update our Babel recipe with examples of babel.config.js files. I think we may even be able to remove .babelrc examples, as I'm under the impression that this is the desired new config format for Babel 7.

We need to update our Babel integration tests (in test/api.js) so we're also testing babel.config.js files. We should change our default behavior so that both babelrc and config files are considered when compiling test & helper files. See:

const defaultOptions = {babelrc: true};

configFile: false,

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions