DEV Community

Discussion on: Is it safe to ship JavaScript Source maps to production?

Collapse
 
dyw972 profile image
Yohan D.

The most important thing in this link is this update :

" It's not a practice to add sourcemap's to a minified file, unless the sourcemap is served from a private network. This is for various reasons security, obfuscation etc. But this is just my opinion,it varies depending on your actual requirement. For Example: If you have any error tracking tools which needs the code to be attached, then you will have to attach the sourcemap."

stackoverflow.com/questions/443154...