~/talk

Source maps through the looking glass

Talkat JSConf EU 2017 · on Sunday, 2017-05-07· [developer-experience, web-platform]
slides:none on file

Deep dive into the actual source map format and workflows, with concrete examples: shows Babel output with sourceMappingURL, explains the VLQ encoded mappings that map output columns back to input files, and walks through decoding segments to build a lookup table. Demonstrates using the source-map npm library as a consumer, describes Sentry fetching maps to unminify stack traces, cites version 3 of the spec and warns that real maps can reach ~30 MB.

AI-written summary · about

  1. 0:00Start
  2. 0:30Sol.ce maps through the looking glass
  3. 1:55Transpile with Babel
  4. 2:10Bundle with Webpack
  5. 5:10Compiling with Debug Symbols
  6. 6:07"Compiled" JavaScript is still text
  7. 7:36Quick history
  8. 8:57Wide adoption
  9. 9:56Generate a source map
  10. 10:48Linking to Source Maps
  11. 11:56SourceMap HTTP Header
  12. 15:56Mappings and new lines
  13. 16:23Mappings continued
  14. 18:17Segment fields
  15. 20:09Segment values are relative
  16. 22:09Mozilla's source-map
  17. 22:47What did we learn?
  18. 23:34Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.