aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/http/headers/sourcemap
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/http/headers/sourcemap
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/http/headers/sourcemap')
-rw-r--r--files/ja/web/http/headers/sourcemap/index.html71
1 files changed, 71 insertions, 0 deletions
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
+---
+<p>{{HTTPSidebar}}</p>
+
+<p><strong><code>SourceMap</code></strong> <a href="/ja/docs/Web/HTTP">HTTP</a> レスポンスヘッダーは、生成されたコードを<a href="/ja/docs/Tools/Debugger/How_to/Use_a_source_map">ソースマップ</a>にリンクし、ブラウザが元のソースを再構成し、再構成されたオリジナルをデバッガに提示できるようにします。</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">ヘッダータイプ</th>
+ <td>{{Glossary("Response header")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">{{Glossary("Forbidden header name")}}</th>
+ <td>いいえ</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="構文">構文</h2>
+
+<pre class="syntaxbox">SourceMap: &lt;url&gt;
+X-SourceMap: &lt;url&gt; (deprecated)
+</pre>
+
+<h3 id="ディレクティブ">ディレクティブ</h3>
+
+<dl>
+ <dt><code>&lt;url&gt;</code></dt>
+ <dd>(リクエスト URL に対する) 相対パスまたはソースマップファイルを指す絶対 URL</dd>
+</dl>
+
+<h2 id="例">例</h2>
+
+<pre>SourceMap: /path/to/file.js.map</pre>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">タイトル</th>
+ </tr>
+ <tr>
+ <td><a href="https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k">Draft document</a></td>
+ <td>Source Map Revision 3 Proposal</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+
+<p class="hidden">このページの互換表は構造化データから生成されます。データに貢献したい場合は <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックし、プルリクエストを送信してください。</p>
+
+<p>{{Compat("http.headers.SourceMap")}}</p>
+
+<h2 id="関連情報">関連情報</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Tools/Debugger/How_to/Use_a_source_map">Firefox Developer Tools: using a source map</a></li>
+</ul>