Vite Plugin Lazy CSS Modules Inliner
JSON →A Vite plugin (v0.2.0) that enables true on-demand CSS injection for dynamically imported code by virtualizing CSS Modules. It prevents lazy components' styles from being bundled into the page's initial CSS, injecting them only when the corresponding JavaScript chunk is actually loaded. Supports Vite 4+, TypeScript, and frameworks like React, Vue, Svelte (via external *.module.css imports). Unlike typical CSS-in-JS solutions or code-splitting plugins, it preserves CSS Modules hashing, avoids preloading CSS via __vitePreload, and includes built-in RTL support via runtimeIsRtlCondition. Released as a proof-of-concept with active maintenance.
Traffic · last 30 days ↓71% vs prev 7d
total hits 16
actors 4 distinct systems
last hit 6d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · IE