이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 참여해서 번역을 마치도록 도와 주세요!
English (US)의 문서도 읽어보세요.

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 AndroidiOS SafariSamsung Internet
Basic support
Non-standard
Chrome Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Requires the vendor prefix: X-
Full support Yes
Edge ? Firefox Full support 27
Prefixed
Full support 27
Prefixed
Prefixed Requires the vendor prefix: X-
Full support 55
IE ? Opera ? Safari Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Requires the vendor prefix: X-
Full support Yes
WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android Full support 27
Prefixed
Full support 27
Prefixed
Prefixed Requires 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

문서 태그 및 공헌자

이 페이지의 공헌자: fscholz
최종 변경자: fscholz,