node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

csso-brunch

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)