JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 162104
  • Score
    100M100P100Q171113F

CSS minifier for Broccoli, using clean-css

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

NPM version Build Status Dependency Status devDependency Status

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.