From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/http/headers/sourcemap/index.html | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 files/pt-br/web/http/headers/sourcemap/index.html (limited to 'files/pt-br/web/http/headers/sourcemap') diff --git a/files/pt-br/web/http/headers/sourcemap/index.html b/files/pt-br/web/http/headers/sourcemap/index.html new file mode 100644 index 0000000000..075d00e10e --- /dev/null +++ b/files/pt-br/web/http/headers/sourcemap/index.html @@ -0,0 +1,65 @@ +--- +title: SourceMap +slug: Web/HTTP/Headers/SourceMap +translation_of: Web/HTTP/Headers/SourceMap +--- +
 {{HTTPSidebar}}
+ +

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{{Glossary("Response header")}}
{{Glossary("Forbidden header name")}}no
+ +

Sintaxe

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

Diretivas

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

Exemplos

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

Especificações

+ + + + + + + + + + + + +
EspecificaçãoTitulo
Draft documentSource Map Revision 3 Proposal
+ +

Browser compatibility

+ + + +

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

+ +

Veja Também

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