6

Sass.

I'm using the @use directive to avoid bundling the same thing a hundred thousand times.

Sass doesn't give a flying fuck and bundles the same thing a hundred thousand times

Why you must hurt me like this

Comments
  • 7
    Hmm that doesn't look like a sass issue. That looks like an issue with your bundler
  • 1
    @ScriptCoded just solved it. It turns out, there was a sass issue.
  • 0
    @IHateForALiving How can that be? Please, explain. I'm genuinely interested
  • 1
    @ScriptCoded long story short, I had a file filled with mixins, referenced several times throughout the code. It turns out, this file included a class and this class was included several times. Fixed it by renaming the file from "common.scss" to "_common.scss" and moving the class somewhere else. Now the several style are still all generated but they don't all include the same code anymore.
  • 0
    @IHateForALiving Still not a SASS issue I don't think
Add Comment