plumber-uglifyjs
v0.4.0
Published
UglifyJS operation for Plumber pipelines
Downloads
83
Readme
plumber-uglifyjs
JavaScript minimisation operation for Plumber pipelines, using UglifyJS2.
Example
var uglifyjs = require('plumber-uglifyjs');
module.exports = function(pipelines) {
pipelines['css'] = [
glob('scripts/**/*.js'),
uglifyjs(),
// ... more pipeline operations
];
};
API
uglifyjs()
Minimise each input JavaScript resource.
Source maps for all input resources will be updated or generated accordingly.