Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!
Sie können den Artikel auch auf English (US) lesen.

The SourceMap HTTP response header links generated code to a source map, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.

Header type Response header
Forbidden header name no

Syntax

SourceMap: <url>
X-SourceMap: <url> (deprecated)

Directives

<url>
A relative (to the request URL) or absolute URL pointing to a source map file.

Examples

SourceMap: /path/to/file.js.map

Specifications

Specification Title
Draft document Source Map Revision 3 Proposal

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic support
Non-standard
Chrome Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Implemented with the vendor prefix: X-
Full support Yes
Edge ? Firefox Full support 27
Prefixed
Full support 27
Prefixed
Prefixed Implemented with the vendor prefix: X-
Full support 55
IE ? Opera ? Safari Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Implemented with the vendor prefix: X-
Full support Yes
WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android Full support 27
Prefixed
Full support 27
Prefixed
Prefixed Implemented with the vendor prefix: X-
Full support 55
Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Requires a vendor prefix or different name for use.
Requires a vendor prefix or different name for use.

See also

Schlagwörter des Dokuments und Mitwirkende

Mitwirkende an dieser Seite: fscholz
Zuletzt aktualisiert von: fscholz,