Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #31 from tc39/sokra/mapping-termination
Browse files Browse the repository at this point in the history
Add note about termination of mappings
  • Loading branch information
sokra authored Mar 15, 2024
2 parents 695bcf5 + 7c93895 commit c03ef2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source-map-rev3.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ The fields in each segment are:

Note: This encoding reduces the source map size 50% relative to the V2 format in tests performed using Google Calendar.

Note: Since source map mappings only map locations and not ranges, looking up chars in the generated code will usually lead to the previous mapping within that line. If this is not indended for a range in the generated code, it's possible to "terminate" mappings by inserting mappings without original location.


#### Resolving Sources

Expand Down

0 comments on commit c03ef2b

Please sign in to comment.