Preparing for system design interviews?  Try bugzed.com →

vite-plugin-purgecss

JSON →
library 0.2.13 ·javascript
verified Jun 18, 2026

A Vite plugin that removes unused CSS from the production build by integrating PurgeCSS. Version 0.2.13, actively maintained with occasional updates. Fork of vite-plugin-html-purgecss, it scans both HTML and JS output to find CSS class references, making it compatible with JavaScript frameworks like SvelteKit. Unlike PurgeCSS CLI, it works seamlessly within Vite's build pipeline without extra configuration. Lightweight and easy to set up, it accepts all standard PurgeCSS options including safelist for preserving dynamic classes. Supports TypeScript with bundled type definitions.

total hits 12
actors 4 distinct systems
last hit 25d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · BD · 🇬🇧 United Kingdom · 🇩🇪 Germany