Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

sindresorhus/broccoli-uncss

broccoli-uncss

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 = new 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

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •