jakubburkiewicz / uncss-brunch

[unmantained] UnCSS support for Brunch
MIT License
11 stars 1 forks source link

uncss-brunch

Adds UnCSS support for brunch.

Tip

If you want to have both: unused CSS removed and code file minfied, check my other plugin:

Usage

Installation

Install the plugin via npm:

npm install --save uncss-brunch // Adds it to your package.json dependencies

Config

To specify options, use config.plugins.uncss object in Brunch config file. Follow standard Brunch conventions.

Example:

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