Skip to content
Latchkey

Source Map - CI/CD Glossary Definition

A source map connects minified output back to your original source so stack traces stay readable.

A source map is a file that maps positions in compiled or minified output back to the original source, so debuggers and error reports point to real lines. It is emitted as a .map file referenced by a comment.

After minification and transpilation, output no longer resembles the source. A source map records the mapping so browser devtools and error trackers show original file, line, and column. In CI you often upload source maps to an error tracker but keep them out of the public bundle.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →