this post was submitted on 21 Nov 2023
1252 points (96.0% liked)

Firefox

17899 readers
37 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] catastrophicblues@lemmy.ca 2 points 1 year ago (1 children)

I’m a bit rusty on this, but I think you’d need to split your Sass/SCSS/etc before Webpack will perform tree-shaking or allow lazy-loading. I don’t think many devs wrote it that way: personally, I like my mobile rules beside my desktop ones, since my styling is component-wise.

[–] tiredofsametab@kbin.social 1 points 1 year ago

I haven't done UI work in years so I'm not sure how they do it these days.