Preparing for system design interviews?  Try bugzed.com →

vite-plugin-optimize-css-modules

JSON →
library 1.4.0 ·javascript
verified Jun 18, 2026

A Vite plugin that minifies CSS modules classnames in production builds by replacing long generated hashes with the shortest possible identifiers (a, b, c, ...). v1.4.0, actively maintained, supports Vite v2–v8. Reduces CSS file size by up to 30% and build time by up to 94% (benchmarked on Bootstrap and Materialize). Ships TypeScript types. Alternative to generic CSS minifiers because it targets classname mangling specifically for CSS modules, preserving functionality while maximizing compression.

total hits 19
actors 5 distinct systems
last hit 26d ago AhrefsBot
GPTBot
4
ByteDance
4
ClaudeBot
3
Script
1
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · VN · 🇨🇦 Canada