@taskr/uglify
#Install
$ npm install --save-dev @taskr/uglify
#API
#.uglify(options)
Check out the UglifyJS documentation to see the available options.
#Usage
exports.build = function * (task) {
yield task.source('src/**/*.uglify')
.uglify({
compress: {
drop_console: true,
join_vars: true
}
})
.target('dist');
}
#Support
Any issues or questions can be sent to the Taskr monorepo.
Please be sure to specify that you are using @taskr/uglify.
#License
MIT © Luke Edwards
See also
taskr(3), clsx(3), @polka/cluster(3), @pwa/cli(3), uvu(3), sockette(3), klona(3), kleur(3), dequal(3), sirv-cli(3)