Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Source Maps

Source Maps

Source Maps are a feature.

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.

Languages with Source Maps include JavaScript

Example from JavaScript:
{ version: 3, file: 'min.js', names: ['bar', 'baz', 'n'], sources: ['one.js', 'two.js'], sourceRoot: '', mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA' };
namespace-feature.html 路 sourcemaps-feature.html 路 typed-holes-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 33 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub