Skip to content

kompu/broccoli-uncss

 
 

Repository files navigation

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

About

Remove unused CSS with UnCSS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.2%
  • CSS 4.9%
  • HTML 2.9%