-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
TS source for source maps in node_modules are processed by Vite pipeline when requested by the devtools #13391
Comments
Hi, can you try to provide a minimal repro with your workspace/node_modules setup (one file app with one file "external" lib)? It would help get me started a lot quicker |
Sure, i have created minimal component library for testing this purpose @drune/naive-soursemapped-panel and two repo web apps, one of which is Create react app template |
Thanks for the repro, I will look at it this weekend! |
Ok so the issue is that the file is processed by the Vite pipeline instead of being ignored and returned as is. |
Similar (but not sure if it's a duplicate): #11743 |
I checked the repro. It seems there's a bug in esbuild: evanw/esbuild#3144 |
If you have control of the library, you can remove |
How does this null in source content relate to this issue? |
When |
Hi, when i connect external library with provided source mapping and sources i cannot get correct source mapping for debugging, all i get is wrapped in hot reload transpiled content. Side bar sows correctly selected file in node_modules path in src directory, but real content is completely different. Is there any way i can enable mapping, so it works like in project with CRA?
The text was updated successfully, but these errors were encountered: