node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

uncss-brunch

uncss-brunch

Adds UnCSS support to brunch.

Tip

If you need both cut unused CSS and minify the code, check:

Usage

Install

Install the plugin via npm with npm install --save uncss-brunch

Or add it to package.json dependencies: "uncss-brunch":"1.0.0"

Config

To specify options, use config.plugins.uncss object in Brunch config file. You can use all standard options for Brunch.

Example:

plugins:
    uncss:
        options:
            csspath: '../styles'
            htmlroot: 'build'
        files: ['index.html', 'about.html']