Remove unused CSS with UnCSS
JavaScript CSS HTML
Latest commit 0c6552d Feb 16, 2016 @sindresorhus 1.6.0
Permalink
Failed to load latest commit information.
fixture init Feb 17, 2014
.editorconfig tweaks Aug 14, 2014
.gitattributes init Feb 17, 2014
.gitignore init Feb 17, 2014
.jshintrc tweaks Aug 14, 2014
.travis.yml Update .travis.yml Feb 8, 2015
Brocfile.js tweaks Aug 14, 2014
index.js bump deps Oct 15, 2015
license tweaks Aug 14, 2014
package.json 1.6.0 Feb 16, 2016
readme.md Update readme.md Mar 21, 2015
test.js init Feb 17, 2014

readme.md

broccoli-uncss Build Status

Remove unused CSS with UnCSS

Issues with the output should be reported on the UnCSS issue tracker.

Install

$ npm install --save-dev broccoli-uncss

Usage

var uncss = require('broccoli-uncss');
tree = uncss(tree, {html: ['index.html']});

API

uncss(tree, [options])

options

See the UnCSS options, except for raw.

html

Required
Type: array

HTML files to use when matching what CSS selectors to filter out.

License

MIT © Sindre Sorhus