DEV Community

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

Collapse
 
prchdk profile image
Pavel Prichodko • Edited

Source maps are downloaded only if your browser has Developer tools opened.

Therefore shipping source maps to production will not affect your end-users and will help your team with the debugging.

Collapse
 
am_rahuls profile image
Rahul

I just tested this with google.com with dev tools opened. I don't see any source maps.

Thread Thread
 
prchdk profile image
Pavel Prichodko

Then Google probably does not ship them at all.