You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a sourcemap, consecutive mappings to the same location are redundant, because a mapping always applies until the end of the line or the start of the next mapping. For example, consider a sourcemap containing the following mappings:
The middle mapping is redundant—it adds no information that isn't already covered by the first mapping. By contrast, the third mapping is relevant because it's on a new line.
Removing these redundant mappings could for example be done in SourceMapBuilder::into_sourcemap and/or as part of Sourcemap::rewrite.
We might want to consider doing this as part of #71.
The text was updated successfully, but these errors were encountered:
In a sourcemap, consecutive mappings to the same location are redundant, because a mapping always applies until the end of the line or the start of the next mapping. For example, consider a sourcemap containing the following mappings:
The middle mapping is redundant—it adds no information that isn't already covered by the first mapping. By contrast, the third mapping is relevant because it's on a new line.
Removing these redundant mappings could for example be done in
SourceMapBuilder::into_sourcemap
and/or as part ofSourcemap::rewrite
.We might want to consider doing this as part of #71.
The text was updated successfully, but these errors were encountered: