Minification (programming): Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Add: title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_bare_links | #UCB_webform_linked 71/1335
Source mapping: missing 'a'
Line 26:
 
==Source mapping==
A '''Source Map''' 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://sourcemaps.info/spec.html|archive-date=2014-11-26|access-date=2016-04-16}}</ref> Version 2 and 3 of the format reduced the size of the map files considerably.<ref name=":0" />