Adds UnCSS support for brunch.
If you want to have both: unused CSS removed and code file minfied, check my other plugin:
Install the plugin via npm with npm install --save uncss-brunch
.
Or add it to package.json
dependencies: "uncss-brunch":"1.0.0"
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']