lasso-babel-minify
v2.0.0
Published
Transform for Lasso.js to minify JavaScript using Babel Minify
Downloads
8
Maintainers
Readme
lasso-babel-minify
Installation
npm install lasso-bable-minify --save
Usage:
require('lasso').configure({
minifyJS: false, // Make sure the defaultJS minifier is not enabled
// ...
plugins: [
// ...
{
plugin: 'lasso-babel-minify',
enabled: process.env.NODE_ENV === 'production'
}
]
});