node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

broccoli-uncss

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

const 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