-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Open
Labels
Description
🚀 Feature Proposal
Add support for Babel v8.
babel/babel#10746
Currently, using babel-jest
and @babel/core@8
produces this error:
Requires Babel "^7.0.0-0", but was loaded with "8.0.0-alpha.11". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel. (While processing: "/.../node_modules/@babel/plugin-syntax-object-rest-spread/lib/index.js")
Furthermore, we could add an option to babel-jest
to opt-out the babel-preset-jest
(especially, babel-preset-current-node-syntax
, which does not make much sense if the developer specified their own babel config).
Motivation
.
Example
No response
Pitch
.