A clean-css plugin for use in duo builds
$ npm install duo-clean-css
$ duo --use duo-clean-css
var duo = require('duo');
var cleancss = require('duo-clean-css');
duo(__dirname)
.use(cleancss())
.entry('index.css')
.run(function (err, results) {
// ...
});
Generates a duo plugin function. Any options
will be passed directly to
new CleanCSS().minify()
.