duo-clean-css
v0.0.1
Published
A duo alternate plugin for compressing a CSS build
Downloads
4
Readme
duo-clean-css
A clean-css plugin for use in duo builds
Installation
$ npm install duo-clean-css
Usage
$ 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) {
// ...
});
API
cleancss(options)
Generates a duo plugin function. Any options
will be passed directly to
new CleanCSS().minify()
.