0.0.1 • Published 10 years ago
babel-preset-es2015-without-strict-and-regenerator v0.0.1
babel-preset-es2015-without-strict-and-regenerator
babel-preset-es2015- (babel-plugin-transform-strict-mode+babel-plugin-transform-regenerator)
Install
$ npm install --save-dev babel-preset-es2015-without-strict-and-regeneratorUsage
Via .babelrc (Recommended)
.babelrc
{
"presets": ["es2015-without-strict-and-regenerator"]
}Via CLI
$ babel script.js --presets es2015-without-strict-and-regeneratorVia Node API
require("babel-core").transform("code", {
presets: ["es2015-without-strict-and-regenerator"]
});