Create @babel/plugin-proposal-dynamic-import (#9552)
* Create @babel/plugin-proposal-dynamic-import * Use airbnb/babel-plugin-dynamic-import-node Do not duplicate code, which will unavoidably lead to bugs being fixed in one plugin and not in the other. * Update error message * Add error callback to amd interop * Update babel-plugin-dynamic-import-node
This commit is contained in:
1
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/script/input.js
vendored
Normal file
1
packages/babel-plugin-proposal-dynamic-import/test/fixtures/commonjs/script/input.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var modP = import("mod");
|
||||
Reference in New Issue
Block a user