2.1.1 • Published 7 years ago
fly-uglify v2.1.1
fly-uglify
UglifyJS plugin for Fly.
Install
npm install --save-dev fly-uglify
API
.uglify(options)
Check out the UglifyJS documentation to see the available options.
Usage
exports.build = function * () {
yield this.source('src/**/*.uglify')
.uglify({
compress: {
drop_console: true,
join_vars: true
}
})
.target('dist');
}
License
MIT © FlyJS