Skip to content

yomed/lasso-clean-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

Lasso.js plugin to minify CSS using clean-css

Resources

License

Stars

Watchers

Forks

Packages

No packages published