-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[babel 8] Drop CJS support from @babel/parser
#17265
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
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/59190 |
1770b80
to
2d961d9
Compare
Q: Do we need extra node flags if people are requiring |
I guess people will need to use |
Actually, looking at jestjs/jest#15275, the answer is: Jest doesn't support |
I wish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised that Jest doesn't support require(esm)
.
Is it? Since now |
Yes. If a Babel config used |
Fixes #1, Fixes #2
People can just
require(esm)
it :)