Source Maps is an actively used design pattern. A specific type of Symbol Table. When debugging transpiled code, it is much easier to debug the original source. A source map is a file that maps from the transformed source to the original source.

?Years Old
  • Have a question about Source Maps not answered here? Email me and let me know how I can help.

Languages with Source Maps include javascript

Example from javascript:

 version: 3,
 file: 'min.js',
 names: ['bar', 'baz', 'n'],
 sources: ['one.js', 'two.js'],
 sourceRoot: '',

Last updated August 9th, 2020

Edit Source Maps on GitHub