babel-preset-import-export

1.0.2 • Public • Published

babel-preset-import-export

Babel preset only for import and export plugins.

Install

npm install --save-dev babel-preset-import-export
yarn add babel-preset-import-export --dev

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["import-export"]
}

Via CLI

babel script.js --presets import-export

modules

"amd" | "umd" | "systemjs" | "commonjs" | false, defaults to "commonjs".

Enable transformation of ES6 module syntax to another module type.

Setting this to false will not transform modules.

Package Sidebar

Install

npm i babel-preset-import-export

Weekly Downloads

579

Version

1.0.2

License

MIT

Last publish

Collaborators

  • sir_jeo