Home

Awesome

lasso-clean-css

Lasso.js plugin to minify CSS using clean-css.

Installation

npm install lasso-clean-css --save

Usage

This plugin can be included through Lasso configuration. You should disable the default Lasso.js minifier, otherwise both minification transforms will execute. Any clean-css options can be passed through config. The revelant portion of configuration should look something like this:

{
    "plugins": [
        "lasso-less",
        {
            "plugin": "lasso-clean-css",
            "config": {
                "aggressiveMerging": false
            }
        }
    ],
    "minify": false
}