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": [
"./node_modules/wintersmith-clean-css/"
]
}
This software is provided free of charge under the MIT License.