/clean-css

A clean-css plugin for use in duo builds

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

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().