Usage
This plugin works for js
, html
, css
, and img
files. Just pass one of those as opts.ext
and you'll be good to go!
Currently I'm aware of no relevant options for this package. If you think
name
(or somehowstream
) could be of use, they will properly pass through.
If you would like more control over the minifiers, you'll need to either create a separate plugin for a minifier package with more control, submit a PR to
minify
, and/or submit a PR tominify
's deps.
Whatever you decide, let me know how it works out or if you need help!
Install
npm install -D fly-minify
Example
{ thistasks thistasks} { thisclear"lib/html" this source"src/**/*.html" target"lib/html"} { thisclear"lib/js" this source"src/**/*.js" target"lib/js"}
License
MIT © Jake Russo et al