A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/shinnn/broccoli-clean-css below:

shinnn/broccoli-clean-css: A Broccoli plugin to minify CSS with clean-css

A Broccoli plugin to minify CSS with clean-css

a {
  color: #ff0000;
}

b {
  /* nothing */
}

Use npm.

npm install --save-dev broccoli-clean-css
const BroccoliCleanCss = require('broccoli-clean-css');
class BroccoliCleanCss(node [, options])

node: string (directory path) or Object (Broccoli node)
options: Object (clean-css constructor options)

//Brocfile.js
const BroccoliCleanCss = require('broccoli-clean-css');

module.exports = new BroccoliCleanCss('path/to/styles');

There are some differences from the original clean-css:

Copyright (c) 2014 - 2019 Watanabe Shinnosuke

Licensed under the MIT License.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4