node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »



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 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": [