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
Vite is able to import .ts files through the .js extension; however, the same doesn't work for .tsx. Should we just expand the logic in the related PR to also cover .tsx?
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 https://github.com/vuejs/core instead.
Describe the bug
This is closely related to #5510
Vite is able to import
.ts
files through the.js
extension; however, the same doesn't work for.tsx
. Should we just expand the logic in the related PR to also cover.tsx
?Reproduction
https://stackblitz.com/edit/vitejs-vite-8omet5?file=src%2FApp.tsx&terminal=dev
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: