bundl-minify
v2.0.0
Published
Minify javascript while you bundle
Downloads
3
Readme
bundl-minify
Minify your bundles for smaller, production-ready code
Runs with the amazing Bundl build tool
Install
$ npm install --save-dev bundl-minify
Use
var Bundl = require('bundl');
var minify = require('bundl-minify');
new Bundl(targets)
.then(minify())
.then(write())
.go();
Options
charset
Defaults to utf8
sourcemap
Experimental
- true = export with same name as bundle.js.map
- { inline: true } = put map inline at bottom of bundle