1.0.2 • Published 9 years ago
babel-preset-import-export v1.0.2
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 --devUsage
Via .babelrc (Recommended)
.babelrc
{
"presets": ["import-export"]
}Via CLI
babel script.js --presets import-exportmodules
"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.