Skip to content
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

Load Babel config from .babelrc, for each path #202

Closed
callumlocke opened this issue Nov 12, 2015 · 2 comments
Closed

Load Babel config from .babelrc, for each path #202

callumlocke opened this issue Nov 12, 2015 · 2 comments

Comments

@callumlocke
Copy link

Under ES2015 support, the readme says "You can also use your own local Babel version" by specifying it in the package.json.

But this doesn't seem much use if we can't also provide our own Babel config. From the code here it looks like AVA decides its own Babel options. It would be more useful if it could determine the appropriate options for each file, based on the closest .babelrc (or package.json containing a babelConfig field) to each file.

@jokeyrhyme
Copy link
Contributor

Apparently it's just babel in package.json now, not babelConfig: https://babeljs.io/docs/usage/babelrc/#use-via-package-json

@novemberborn
Copy link
Member

Please see #448.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants