babel-plugin-dynamic-import-system-import
Babel plugin to transpile import()
to System.import()
.
NOTE: Babylon >= v6.12.0 is required to correct parse dynamic imports.
Installation
$ npm install babel-plugin-dynamic-import-system-import --save-dev
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins dynamic-import-system-import script.js
Via Node API
;