There's room for improvement still. Currently, the production build is using long-dev class names. e.g. `DirectoryContent-module__Box_3__gl6dE` could be compiled to a shorter hash like `gl6DE3a2`.If you use Vite: css: { modules: { generateScopedName: mode === 'production' ? '[hash:base64:8]' : '[name]__[local]___[hash:base64:5]', } }
The improvement would be shipping human-readable structure to allow easier user overrides, not that hash abomination
efortis · · focus · HN ↗
If you use Vite:
eviks · · focus · HN ↗