npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

rollup-plugin-purgecss

1.0.0 • Public • Published

rollup-plugin-purgecss

Build Status CircleCi dependencies Status devDependencies Status Codacy Badge npm license

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

11

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability