Re:Why we switched from Webpack to Vite
by viklove on Thursday April 29, 2021 @01:00AM
(#26977639)
One great problem it solves is namespacing all of your styles. I don't have to worry about classname collisions because the bundle handles it all for me. Instead of having one massive global stylesheet, I have a bunch of small, modular stylesheets that fit entirely on my display without scrolling, and I can reason about the output much easier than before.
[ Parent
| on HN ]
Re:Why we switched from Webpack to Vite
by panzerklein on Thursday April 29, 2021 @11:55AM
(#26982790)
You're talking about css modules. It's a different feature.