Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 610 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 610 Bytes

csso-brunch

Adds CSSO support to brunch.

CSSO (CSS Optimizer) is a CSS minimizer unlike others. In addition to usual minification techniques it can perform structural optimization of CSS files, resulting in smaller file size compared to other minifiers.

Usage

Install the plugin via npm:

npm install --save csso-brunch

To specify CSSO options, use config.plugins.csso object, for example:

exports.config = {
  ...
  plugins: {
    csso: {
      restructure: false
    }
  }
}

License

The MIT License (MIT)