• Mr. Satan@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Security through obscurity is not security. I see no reason why source maps should be unavailable.

    • mack@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      depends.

      if we’re talking about a personal website nobody will care. if you are a multibillion company and there’s the risk that literally anyone can create a 1:1 clone of your services… yeah that’s a bit of a trouble

      • Mr. Satan@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        5 days ago

        It was mentioned before. Source map is a comment with an URL. It’s not pulled automatically unless the client has devtools and supports that. It doesn’t meaningfully increase the size of the site for normal users.

      • Phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        Ding ding ding

        Open source code is usually quite nice and well done because money pressure is way less of an issue and everyone knows people will be looking at your code

        • ulterno@programming.dev
          cake
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          If you look at the casual code that I have shamelessly made public on my GitLab, that might change your mind on that.