Minification (programming): Difference between revisions

Content deleted Content added
GreenC bot (talk | contribs)
Line 27:
 
==Source mapping==
A '''Sourcesource Mapmap''' is a [[file format]] that allows software tools for [[JavaScript]] to display different code to a user than the code actually executed by the computer. For example, to aid in [[debugging]] of minified code, by "mapping" this code to the original unminified [[source code]] instead.
 
The original format was created by Joseph Schorr as part of the Closure Inspector minification project.<ref name=":0">{{Cite web|date=2011-01-11|title=Source Map Revision 3 Proposal|url=https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit|url-status=dead|archive-url=https://web.archive.org/web/20160308081352/https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit|archive-date=8 March 2016|access-date=2016-04-16}}</ref> Version 2 and 3 of the format reduced the size of the map files considerably.<ref name=":0" />