james-uglify
v0.1.0
Published
James transformer for Uglify2.js
Downloads
3
Readme
Synopsis
UglifyJS 2 transformer for James.js.
var james = require('james'),
uglify = require('james-uglify');
james.task('default', function() {
james.files('src/**/*.js').forEach(function(file) {
james.read(file)
.transform(uglify)
.write(process.stdout);
});
});
API
uglify(options)
: Return a new UglifyJS 2 transformer. Available options are listed in
Uglify documentation.