mishoo/UglifyJS — Issue #315: Support for SourceMaps
Author: danielericlee
Created: 2012-02-13 18:10:15+00:00
State: open

Everybody is really excited about the support for Source Maps in Chrome Canary. (Possibly an exaggeration, but I think they are awesome! :)

Source Maps are generated blobs of JSON metadata that allow Developer Tools to match compressed JavaScript to their original source files

Here's the spec:
https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1

Here's a demo:
http://trac.webkit.org/export/105549/trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html

It would be great if UglifyJS could generate these maps via a command-line option.