Skip to content

sirJeo/babel-preset-import-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published