broccoli-clean-css

CSS minifier for Broccoli with clean-css
a {
color: #FF0000;
}
a {
border-radius: 4px 4px 4px 4px;
}
↓
a{color:red;border-radius:4px}
Installation
Install with npm.
npm i --save-dev broccoli-clean-css
Usage
var cleanCSS = require('broccoli-clean-css');
tree = cleanCSS(tree, options);
API
cleanCSS(tree, options)
See available options for clean-css.
Note that relativeTo
option and root
option are relative to the source tree.
License
Copyright (c) 2014 Shinnosuke Watanabe
Licensed under the MIT License.