broccoli-uncss

2.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    1
    • latest

Version History

Package Sidebar

Install

npm i broccoli-uncss

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • sindresorhus