-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Web Workers in TypeScript have incorrect source map #14216
Labels
Comments
Start a new pull request in StackBlitz Codeflow. |
sapphi-red
added
p3-minor-bug
An edge case that only affects very specific usage (priority)
feat: web workers
labels
Aug 28, 2023
9 tasks
patak-dev
pushed a commit
that referenced
this issue
Sep 3, 2023
9 tasks
bluwy
pushed a commit
that referenced
this issue
Oct 3, 2023
bluwy
pushed a commit
that referenced
this issue
Oct 3, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Describe the bug
When using
new Worker(new URL('./worker.ts', import.meta.url), { type: 'module' })
to load a Web Worker, the worker script has incorrect source map.Reproduction
https://stackblitz.com/edit/vitejs-vite-f2cvz7?file=counter.js,worker.ts&terminal=dev
Steps to reproduce
worker.ts
console.log('small');
)System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: