rollup-plugin-purgecss
    TypeScript icon, indicating that this package has built-in type declarations

    4.0.3 • Public • Published

    rollup-plugin-purgecss

    David David Dependabot npm npm GitHub

    Rollup plugin to remove unused css.

    Install

    npm i rollup-plugin-purgecss -D

    Usage

    import { rollup } from 'rollup';
    import purgecss from 'rollup-plugin-purgecss';
    
    rollup({
        entry: 'main.js',
        plugins: [
            purgecss({
                content: ["index.html"]
            })
        ]
    });

    Contributing

    Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

    Versioning

    We use SemVer for versioning.

    License

    This project is licensed under the MIT License - see the LICENSE file for details

    Install

    npm i rollup-plugin-purgecss

    DownloadsWeekly Downloads

    92

    Version

    4.0.3

    License

    MIT

    Unpacked Size

    12 kB

    Total Files

    15

    Last publish

    Collaborators

    • jsnanigans
    • ffloriel