一覧へ戻る
FullHuman/rollup-plugin-purgecss(新しいタブで開きます)
主要言語: JavaScript
Rollup plugin to remove unused css
- star 数
- 18
- watcher 数
- 1
- fork 数
- 2
- issue 数
- 6
- 最終更新
- 2020/01/28
主要言語: JavaScript
Rollup plugin to remove unused css
Rollup plugin to remove unused css.
npm i rollup-plugin-purgecss -D
import { rollup } from 'rollup'; import purgecss from 'rollup-plugin-purgecss'; rollup({ entry: 'main.js', plugins: [ purgecss({ content: ["index.html"] }) ] });
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning.
This project is licensed under the MIT License - see the LICENSE file for details