-
-
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
All Typescript sourcemaps resolve to input.ts
when running live
#137
Comments
This is an issue with esbuild’s transform API. It currently doesn’t accept option to specify the file name for the source map. |
I suspected that, seeing |
The newest release of esbuild has an option for this called |
Describe the bug
When including Typescript, the generated source map for each file maps it the file to
input.ts
. This causes problems with breakpoints, as well as logging locations. Additionally, during loading in the Chrome debugger, you can sometimes see all Typescript files flash asinput.ts
.Reproduction
The sourcemap decodes to:
System Info
vite
version: 0.14.4, 0.10.xvue
version: 3.0.0-beta.10@vue/compiler-sfc
version: 3.0.0-beta.10The text was updated successfully, but these errors were encountered: