-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[babel 8] Remove default syntax plugins from preset-env #15810
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
[babel 8] Remove default syntax plugins from preset-env #15810
Conversation
| shouldTransformESM: boolean; | ||
| shouldTransformDynamicImport: boolean; | ||
| shouldTransformExportNamespaceFrom: boolean; | ||
| shouldParseTopLevelAwait: boolean; |
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.
TLA is now enabled by default in our parser, so we can unconditionally add the syntax plugin for older parser versions.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54928/ |
|
A fresh install of Some of them are through A fresh install of Some of them are through |
05ad8c3 to
304a9e4
Compare
304a9e4 to
3ae4b02
Compare
JLHwung
left a comment
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.
Note: we should also remove them from the babel-standalone, maybe in another PR.
All these packages won't be needed in Babel 8, and they have a peer dependency on Babel 7 which causes warnings.