vite-plugin-optimize-css-modules
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 19
actors 5 distinct systems
last hit 26d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · VN · 🇨🇦 Canada