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
Add @babel/plugin-proposal-dynamic-import to @babel/preset-env #10109
Add @babel/plugin-proposal-dynamic-import to @babel/preset-env #10109
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11012/ |
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/10977/ |
Well - I guess it’s hard to tell if this can break somebody’s expectations, considering in how many ways babel configs may be written. But I wouldn’t stop this because of that because i think possibility of breakage is low. |
I think that this could only break only if someone disables the modules transform plugin using |
Merged as ef3f555 |
Why do we show |
Follow up to #9552: that PR cretes the new plugin; this PR adds it to
@babel/preset-env
.I'm really thankful that @loganfsmyth added the
supportsDynamicImport
flag tobabel-loader
androllup-plugin-babel
a long time ago 🙂cc @Andarist Is this ok for
rollup-plugin-babel
?