How to Hash css classes for production ?
Hey ! I'm look to hash my css classes for production only, i finded that was possible with nuxt2 with :
But i can't find the equivalent for nuxt3, any ideas ?
5 Replies
@Nathan / npldev I believe you would use a vite configuration to accomplish this, like:
See more here: https://vitejs.dev/config/shared-options.html#css-modules
Vite
Next Generation Frontend Tooling
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I believe so - I haven't tried it myself as I don't use CSS Modules, but I believe that is the Nuxt 3 / Vite way to accomplish what you're needing
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View