wintersmith-clean-css

A Wintersmith Clean-CSS plugin for minifying CSS files.

npm install wintersmith-clean-css
4 downloads in the last week
9 downloads in the last month

wintersmith-clean-css

A Clean-Css plugin for Wintersmith

Automatically minify's your websites CSS files when building, ignoring already minified files (ending in '.min.css') so not to muck up anything that came minified out-of-the-box.

Install:

Install globally and add wintersmith-clean-css to your wintersmith config.json.

$ npm install wintersmith-clean-css -g

Or Locally,

$ npm install wintersmith-clean-css

Then add add to your ./node_modules/wintersmith-clean-css/ to your wintersmith config.json like so:

{
    "locals": {
        ...
    }
    "plugins": [
       "./node_modules/wintersmith-clean-css/"
    ]
}
npm loves you