exhibit-builder-uglify
v0.2.0
Published
Minifies JavaScript files with UglifyJS
Downloads
3
Readme
uglify
Exhibit.js builder plugin
Minifies JavaScript files with UglifyJS.
$ npm install -D exhibit-builder-uglify
Usage
.use('uglify', options)
Options
include
(string/array/function) — default:**/*.js
Which files to process. Follows Exhibit’s glob convention.
sourceMap
(boolean) — default:false
Whether to output a source map.
Other options
These are passed straight through to UglifyJS.minify
:
compress
(default:true
)mangle
(defaulttrue
)
License
MIT