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
Occasionally, a mapping is generated that contains essentially the exact same information as the mapping immediately before it:
CCCC,AAAA
This defines two mappings, both of which point to the same exact spot in the original source file. This isn't necessary, and adding the second just bloats the source map.
Occasionally, a mapping is generated that contains essentially the exact same information as the mapping immediately before it:
This defines two mappings, both of which point to the same exact spot in the original source file. This isn't necessary, and adding the second just bloats the source map.
I've defined a couple of more "useless" mappings in https://github.com/jridgewell/gen-mapping/blob/7626d310002df682012dc29bdfa4d674027f1538/src/gen-mapping.ts#L382-L418, which is exposed to the generating tool through
maybeAddMapping
(Babel and Terser use this). It'd be good to formally define which mappings are duplicates and can be removed when generating a source map.The text was updated successfully, but these errors were encountered: