Skip to content

Commit

Permalink
Merge pull request tc39#12 from kamilogorek/header-precedence
Browse files Browse the repository at this point in the history
Specify precedence of header over inline annotation for source map url
  • Loading branch information
littledan authored Jul 11, 2023
2 parents 62dff39 + 26b57aa commit f23f6b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source-map.bs
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ characters outside the set permitted to appear in URIs must be percent-encoded
and it maybe a data URI. Using a data URI along with [=sourcesContent=] allow
for a completely self-contained source-map.

<ins>The HTTP `SourceMap` header has precedence over source annotation, and if both are present,
header URL should be used to resolve the source map file.</ins>

Regardless of the method used to retrieve the [=Source Mapping URL=] the same
process is used to resolve it, which is as follows:

Expand Down

0 comments on commit f23f6b9

Please sign in to comment.