thgreasi / babel-plugin-system-import-transformer

import() & System.import() to UMD pattern transformer plugin for Babel
MIT License
72 stars 6 forks source link

Support `import` function #11

Closed jbrantly closed 7 years ago

jbrantly commented 7 years ago

Apparently the module loader spec is now using import() for dynamic loading. Would be great if this plugin could support both syntaxes. Babel syntax plugin here.

thgreasi commented 7 years ago

That's great! I will start working on it as soon as I get some free time. Thanks for reporting!

thgreasi commented 7 years ago

I just released v3.0.0 that adds support for the import() syntax. I will probably also open a new issue for tracking support of require.ensure.