less / Less Plugin Clean Css
Licence: apache-2.0
Post-process and compress CSS using clean-css.
Stars: ✭ 186
Programming Languages
javascript
184084 projects - #8 most used programming language
less-plugin-clean-css
Compresses the css output from less using clean-css.
lessc usage
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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].