Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

sourcemap is not work when use it in npm package! #42

Closed
ckken opened this issue Mar 22, 2022 · 3 comments
Closed

sourcemap is not work when use it in npm package! #42

ckken opened this issue Mar 22, 2022 · 3 comments

Comments

@ckken
Copy link

ckken commented Mar 22, 2022

babel-loader
image

swc-loader
image

@kdy1
Copy link
Member

kdy1 commented Mar 22, 2022

Did you specify sourceMaps: true in .swcrc?
Also, I need a reproduction to fix this, in case it's a bug

@ckken
Copy link
Author

ckken commented Mar 22, 2022

There are files created, but the browser cannot recognize them

@kdy1
Copy link
Member

kdy1 commented Mar 22, 2022

Seems like swc-project/swc#2362

@kdy1 kdy1 closed this as completed Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants