You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the same issue that I reported previously #3040 but in a worker context. In an essence, Vite doesn't resolve typescript files if they are imported with a .js extension as following:
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
This is the same issue that I reported previously #3040 but in a worker context. In an essence, Vite doesn't resolve typescript files if they are imported with a
.js
extension as following:hello.ts
worker.ts
I tried my previous workaround:
but it didn't work this time.
Reproduction
https://stackblitz.com/edit/vitejs-vite-ftdhm1?file=index.html,main.ts&terminal=dev
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: