babel-plugin-transform-es2015-modules-amd-baidu
v6.8.2
Published
## Installation
Downloads
15
Readme
babel-plugin-transform-es2015-modules-amd
Installation
$ npm install babel-plugin-transform-es2015-modules-amd
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["transform-es2015-modules-amd"]
}
Via CLI
$ babel --plugins transform-es2015-modules-amd script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["transform-es2015-modules-amd"]
});