broccoli-uglify-js
v0.2.0
Published
UglifyJS2 filter for Broccoli
Downloads
7,228
Readme
broccoli-uglify-js
UglifyJS2 filter for Broccoli.
Installation
npm install --save-dev broccoli-uglify-jsUsage
var uglifyJavaScript = require('broccoli-uglify-js');
tree = uglifyJavaScript(tree, options);Options
The following options are supported:
mangle(passed through to UglifyJS): passfalseto skip mangling namescompress(passed through to UglifyJS): passfalseto skip compressing; pass an object to specify compressor optionsoutput(passed through to UglifyJS): pass an object to specify additional output options
To Do
- Enable
ascii_onlyby default
Source Maps
Source maps are not yet supported.
