• luciole@beehaw.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    News flash: your snark makes you an unpleasant person. Read my comment again. I said tree shaking fixes this… unless you don’t know what content you’ll display and what classes you’ll need at build time. Not all sites are static.

    • AnarchoYeasty@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Unless you are going to be allowing custom html to be added the tooling is smart enough to figure out what possible classes your code can use. You’d have to do something dumb to not have the tools able to tell what components you are serving.

      • luciole@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        More generally, the more you have a flexible editor in the app, the worst it gets. This is the use case where I ran into trouble.