©
This document uses PHP Chinese website manual Release
所述SourceMap
HTTP 响应报头链接生成的代码到一个源映射,使浏览器来重构原始源并在调试器呈现重构原始。
Header type | Response header |
---|---|
Forbidden header name | no |
SourceMap: <url>X-SourceMap: <url> (deprecated)
<url>
指向源映射文件的相对(指向请求的 URL)或绝对 URL。
SourceMap: /path/to/file.js.map
Specification | Title |
---|---|
Draft document | Source Map Revision 3 Proposal |
Feature | Chrome | Firefox | Edge | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) X- (Yes) | 27.0 X- 55.0 | ? | ? | ? | (Yes) X- (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | ? | ? | ? | 27.0 X- 55.0 | ? | ? | ? |