broccoli-uncss
Remove unused CSS with UnCSS
Issues with the output should be reported on the UnCSS issue tracker.
npm install --save-dev broccoli-uncss
const UnCSS = require('broccoli-uncss');
tree = new UnCSS(tree, {html: ['index.html']});
See the UnCSS options, except for raw
.
Required
Type: Array
HTML files to use when matching what CSS selectors to filter out.
MIT © Sindre Sorhus