babel-preset-minify-es2015
v0.0.3
Published
A set of babel plugins for minification of ES2015 code without transpilation to ES5
Downloads
7
Maintainers
Readme
babel-preset-minify-es2015
Minifty ES2015 code without needing transpilation to ES5.
Install
$ npm install --save-dev babel-preset-minify-es2015
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["minify-es2015"]
}
Via CLI
$ babel script.js --presets minify-es2015
Via Node API
require('babel-core').transform('code', {
presets: ['minify-es2015']
});