$ npm install --save-dev @taskr/uglify
Check out the UglifyJS documentation to see the available options.
exports.build = function * (task) {
yield task.source('src/**/*.uglify')
.uglify({
compress: {
drop_console: true,
join_vars: true
}
})
.target('dist');
}
Any issues or questions can be sent to the Taskr monorepo.
Please be sure to specify that you are using @taskr/uglify
.
MIT © Luke Edwards