From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/http/headers/sourcemap/index.html | 71 ++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 files/ja/web/http/headers/sourcemap/index.html (limited to 'files/ja/web/http/headers/sourcemap/index.html') diff --git a/files/ja/web/http/headers/sourcemap/index.html b/files/ja/web/http/headers/sourcemap/index.html new file mode 100644 index 0000000000..cab7efca74 --- /dev/null +++ b/files/ja/web/http/headers/sourcemap/index.html @@ -0,0 +1,71 @@ +--- +title: SourceMap +slug: Web/HTTP/Headers/SourceMap +tags: + - HTTP + - HTTP ヘッダー + - ヘッダー + - リファレンス + - レスポンスヘッダー +translation_of: Web/HTTP/Headers/SourceMap +--- +

{{HTTPSidebar}}

+ +

SourceMap HTTP レスポンスヘッダーは、生成されたコードをソースマップにリンクし、ブラウザが元のソースを再構成し、再構成されたオリジナルをデバッガに提示できるようにします。

+ + + + + + + + + + + + +
ヘッダータイプ{{Glossary("Response header")}}
{{Glossary("Forbidden header name")}}いいえ
+ +

構文

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

ディレクティブ

+ +
+
<url>
+
(リクエスト URL に対する) 相対パスまたはソースマップファイルを指す絶対 URL
+
+ +

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

仕様

+ + + + + + + + + + + + +
仕様書タイトル
Draft documentSource Map Revision 3 Proposal
+ +

ブラウザの互換性

+ + + +

{{Compat("http.headers.SourceMap")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf