you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago (1 child)

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.

  • source
  • parent
  • hideshow 2 child comments