Added support for babel.config.js#6911
Conversation
thymikee
left a comment
There was a problem hiding this comment.
Mind adding a changelog entry? :)
|
Added changelog entry. Thanks! :) |
Codecov Report
@@ Coverage Diff @@
## master #6911 +/- ##
==========================================
- Coverage 66.98% 66.98% -0.01%
==========================================
Files 250 250
Lines 10360 10365 +5
Branches 3 3
==========================================
+ Hits 6940 6943 +3
- Misses 3419 3421 +2
Partials 1 1
Continue to review full report at Codecov.
|
SimenB
left a comment
There was a problem hiding this comment.
Note that this just adds support in our cache busting - we already supported the config file for actual configuration of babel (as we just ask babel to do the transpilation for us)
|
@SimenB - Thanks for the comment, all I needed to do when migrating from |
|
Is it possible to access babel.config.js from a custom path? |
|
Yeah, using a custom transformer: https://jestjs.io/docs/en/tutorial-react#custom-transformers |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes #6908
With the arrival of Babel 7.0.0 comes support for
.jsconfiguration files from Babel.See here for details.
This PR adds support for the new config file added by the Babel team.