• panda_abyss@lemmy.ca
    link
    fedilink
    arrow-up
    49
    ·
    3 days ago

    It’s how the web worked before minifiers, so kinda but not really.

    You just have comments and original variable/function names.

    I’m sure someone will argue this helps scrapers or hackers, but really it’s not that big of a deal.

    • dreamkeeper@literature.cafe
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Anyone capable of doing damage already knows how to format and read minified code anyway. I do it in prod all the time when I want to test something with an override, which causes the source map to become invalid.