1.6.0 • Published 11 months ago

less-plugin-clean-css v1.6.0

Weekly downloads
42,487
License
Apache-2.0
Repository
github
Last release
11 months ago

less-plugin-clean-css

Compresses the css output from less using clean-css.

lessc usage

First of all install less via

npm install -g less

then install the less-plugin-clean-css

npm install -g less-plugin-clean-css

and then on the command line,

lessc file.less --clean-css="--s1 --advanced --compatibility=ie8"

See clean-css for the available command options - the only differences are advanced and rebase which we default to false, because it is not always entirely safe.

Programmatic usage

var LessPluginCleanCSS = require('less-plugin-clean-css'),
    cleanCSSPlugin = new LessPluginCleanCSS({advanced: true});
less.render(lessString, {plugins: [cleanCSSPlugin]})
    .then(

Browser usage

Browser usage is not supported at this time.

1.6.0

11 months ago

1.5.1

10 years ago

1.5.0

10 years ago

1.4.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago