Have ideas to improve npm?Join in the discussion! »

    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

    Install

    npm i broccoli-uncss

    DownloadsWeekly Downloads

    17

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar