plugin-syntax-dynamic-import didnot re #11204
Labels
i: bug
i: needs triage
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Current Behavior
Based on comments here in plugin-proposal-dynamic-import:
plugin-syntax-dynamic-import should preserve dynamic import statement. But it did not.
Input Code
Demo repo https://github.com/3cp/babel-dynamic-import-issue
With config
And source code
Babel compiled it into
The result didn't retain dynamic import statement.
Expected behavior/code
plugin-syntax-dynamic-import should help to retain dynamic import statement.
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
. babelrc
Environment
Possible Solution
Nil
Additional context/Screenshots
I recall it worked before. I don't remember what time I checked this, might be a year ago.
The text was updated successfully, but these errors were encountered: