source-map icon indicating copy to clipboard operation
source-map copied to clipboard

extends generates wrong sourcemap

Open hardfist opened this issue 3 years ago • 2 comments

I try to use @parcel/source-map to implement remapping like https://github.com/ampproject/remapping for efficiency, but it seems that It generates wrong sourcemap. You can see the demo https://github.com/hardfist/remap here

hardfist avatar Nov 18 '21 07:11 hardfist

@hardfist Can you give us an example? What's "wrong" with your source-map?

binyamin avatar Nov 14 '22 19:11 binyamin

I run the demo before, @ampproject/remapping can get correct remapping result and @parcel/sourcemap extends result is different.

@ampproject/remapping

image

image

@parcel/sourcemap

image

image

ArrayZoneYour avatar Dec 30 '22 03:12 ArrayZoneYour