mudkip@lemdro.id to Programmer Humor@programming.devEnglish · 17 天前Apple forgot to disable production source maps on the App Store web appfiles.catbox.moeimagemessage-square65linkfedilinkarrow-up1612arrow-down18 cross-posted to: apple_enthusiast@lemmy.world
arrow-up1604arrow-down1imageApple forgot to disable production source maps on the App Store web appfiles.catbox.moemudkip@lemdro.id to Programmer Humor@programming.devEnglish · 17 天前message-square65linkfedilink cross-posted to: apple_enthusiast@lemmy.world
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up47·16 天前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.
minus-squaredreamkeeper@literature.cafelinkfedilinkarrow-up2·16 天前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.
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.
It help stylus users!
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.