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}; |
As of #1798 we support Babel 7 beta 48. This supports a new
babel.config.jsfile.We need to update our Babel recipe with examples of
babel.config.jsfiles. I think we may even be able to remove.babelrcexamples, 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 (intest/api.js) so we're also testingbabel.config.jsfiles. We should change our default behavior so that bothbabelrcandconfigfiles are considered when compiling test & helper files. See:ava/lib/babel-pipeline.js
Line 28 in a5de369
ava/lib/babel-pipeline.js
Line 125 in a5de369