File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
packages/rollup-plugin-purgecss Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # rollup-plugin-purgecss
2+ [ ![ Build Status] ( https://travis-ci.org/FullHuman/rollup-plugin-purgecss.svg?branch=master )] ( https://travis-ci.org/FullHuman/rollup-plugin-purgecss ) [ ![ CircleCi] ( https://circleci.com/gh/FullHuman/rollup-plugin-purgecss/tree/master.svg?style=shield )] ( ) [ ![ dependencies Status] ( https://david-dm.org/fullhuman/rollup-plugin-purgecss/status.svg )] ( https://david-dm.org/fullhuman/rollup-plugin-purgecss ) [ ![ devDependencies Status] ( https://david-dm.org/fullhuman/rollup-plugin-purgecss/dev-status.svg )] ( https://david-dm.org/fullhuman/rollup-plugin-purgecss?type=dev )
3+
4+ [ Rollup] ( https://github.com/rollup/rollup ) plugin to remove unused css.
5+
6+ ## Install
7+
8+ ``` sh
9+ npm i rollup-plugin-purgecss -D
10+ ```
11+
12+ ## Usage
13+
14+ ``` js
15+ import { rollup } from ' rollup' ;
16+ import purgecss from ' rollup-plugin-purgecss' ;
17+
18+ rollup ({
19+ entry: ' main.js' ,
20+ plugins: [
21+ purgecss ({
22+ content: [" index.html" ]
23+ })
24+ ]
25+ });
26+ ```
27+
28+ ## Contributing
29+
30+ Please read [ CONTRIBUTING.md] ( ./.github/CONTRIBUTING.md ) for details on our code of conduct, and the process for submitting pull requests to us.
31+
32+ ## Versioning
33+
34+ We use [ SemVer] ( http://semver.org/ ) for versioning.
35+
36+ ## License
37+
38+ This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE ) file for details
You can’t perform that action at this time.
0 commit comments