Glossary · Developer Concepts
Source Map
A file that maps minified production JavaScript back to the original source code, useful for debugging but a leak risk if shipped to production.
Browse all definitionsIn detail
Source maps are JSON files that describe how minified, compiled or transformed JavaScript relates to the original TypeScript or unminified source. Browsers fetch source maps on demand when devtools is open, allowing developers to debug production code as if it were the original. The downside is that publicly accessible source maps reveal the original source code structure, comments, internal API names and sometimes accidentally included secrets. Most production frameworks default to either suppressing source maps or hosting them privately.
Apply the definition
Want to talk through how this applies to your business?
Start with the decision in front of you. We will help map the fit.