Package Exports
- broccoli-clean-css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (broccoli-clean-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-cssUsage
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.