News for hackers. Stuff that matters.
Re:What is a Source Map by nallerooth on Wednesday November 15, 2017 @01:20AM (#15701813)
I wouldn't, or to be more precise - I wouldn't by default. I prefer to enable things like source maps via an environment variable or a special build - when I know that I need to debug something. By always including source maps, I just increase the asset size for the site's visitors, with "no benefit" (most end users won't have a clue about how to debug something).

Regarding the security aspect - don't put anything you know to be sensitive/insecure on the Internet in the first place.

Re:What is a Source Map by holman on Wednesday November 15, 2017 @01:27AM (#15701833)
Source maps aren’t actually loaded by the browser unless specifically requested by opening web inspector, fwiw.
Re:What is a Source Map by thejosh on Wednesday November 15, 2017 @01:29AM (#15701843)
We include them, but lock them away via nginx rules for sentry and dev IPs.