-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Source map genrating issue #4964
Comments
I will try to fix this issue |
vite generated sourcemap
plugin-vue using esbuild transformed sourcemap
|
wtf? I ran |
@CGQAQ So first: no need to tag Evan here, he doesn't even setup the whole formatting. I checked the current main branch and when I freshly installed prettier (or I mean the whole dependencies) I didn't get such different formattings 🤔 Only thing I may need to add to |
Describe the bug
This is related to #4912
In generated source map, you have two sources but only one sourceContents. this is not an issue on firefox windows but is a serious issue on chrome windows
and will screw up the debugger
And not only vue, you see there is inconsistency between file to file in react to
one file starts with
C:
, and the other start withc:,
this will not cause an issue becauseyou got one two one match between sources and sourcesContent in the sourcemap
how to fix: don't mix up uppercase and lowercase Driver letter in sources, and don't add both of them to the sources, be sure to match up sources length with sourcesContent
Reproduction
...
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: