babel-preset-es2015-node6-loose
v1.2.0
Published
Babel preset based on babel-preset-es2015-node6 that enables loose mode where available.
Downloads
11
Readme
babel-preset-es2015-loose
Babel preset based on babel-preset-es2015-node6 that enables loose mode where available.
Install
$ npm install --save-dev babel-preset-es2015-node6-loose
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["es2015-node6-loose"]
}
Via CLI
$ babel script.js --presets es2015-node6-loose
Via Node API
require("babel-core").transform("code", {
presets: ["es2015-node6-loose"]
})