Vite.js Built‑In CSS Modules: Enable, Use, and Avoid Common Pitfalls
Learn how Vite automatically treats files ending in .module.css (and variants) as CSS Modules, how to import them, tweak the hash format, and what to watch out for when mixing global and module styles.