Minification (programming): Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Visual edit Mobile edit Mobile web edit
k
Tags: Reverted Visual edit Mobile edit Mobile web edit
Line 27:
 
==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" />