Skip to content

A set of babel plugins for minification of ES2015 code without transpilation to ES5

Notifications You must be signed in to change notification settings

betaorbust/babel-preset-minify-es2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-minify-es2015

NPM Version Dependency Status Dev Dependency Status

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']
});

About

A set of babel plugins for minification of ES2015 code without transpilation to ES5

Resources

Stars

Watchers

Forks

Packages

No packages published