Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Remove unused CSS with UnCSS
JavaScript CSS HTML
branch: master
Failed to load latest commit information.
fixture init
.editorconfig tweaks
.gitattributes init
.gitignore init
.jshintrc tweaks
.travis.yml Update .travis.yml
Brocfile.js tweaks
index.js don't modify user supplied options object
license tweaks
package.json 1.4.0
readme.md Update readme.md
test.js init

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

Something went wrong with that request. Please try again.