Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 906 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 906 Bytes

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/"
    ]
}

License

This software is provided free of charge under the MIT License.