lasso-clean-css

2.1.0 • Public • Published

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
}

Package Sidebar

Install

npm i lasso-clean-css

Weekly Downloads

80

Version

2.1.0

License

MIT

Unpacked Size

2.82 kB

Total Files

4

Last publish

Collaborators

  • yomed