Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extends generates wrong sourcemap #84

Open
hardfist opened this issue Nov 18, 2021 · 2 comments
Open

extends generates wrong sourcemap #84

hardfist opened this issue Nov 18, 2021 · 2 comments

Comments

@hardfist
Copy link

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

@binyamin
Copy link

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

@ArrayZoneYour
Copy link

ArrayZoneYour commented Dec 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants