-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document usage of babel.config.js
files
#1816
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just for clarification, does ava currently support |
@danny-andrews, yes, if you add something like this to your "babel": {
"testOptions": {
"configFile": "./babel.config.js"
}
} |
We need to auto-detect it though, like we do Then, I'd like to update our documentation to use |
@novemberborn, wouldn't just providing |
@kevva yup, I just didn't want to do that without having tests and an understanding of how it all behaves. |
babel.config.js
filesbabel.config.js
files
babel.config.js
filesbabel.config.js
files
|
* Fix links between the various pages * Remove outdated recipe on precompiling with webpack * Update Babel documentation to remove bias towards .babelrc files. Fixes #1816.
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 (intest/api.js
) so we're also testingbabel.config.js
files. We should change our default behavior so that bothbabelrc
andconfig
files 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
The text was updated successfully, but these errors were encountered: