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
supportsDynamicImportflag tobabel-loaderandrollup-plugin-babela long time ago 🙂cc @Andarist Is this ok for
rollup-plugin-babel?