-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Description
Description
Hi all,
I'm using Vite with jsx + ts. Jsx files work great in DevTools and I can even change it directly in DevTools, save and the file will be saved in the filesystem. That's awesome!
This is not the case however for TypeScript files. Changing the file in DevTools does nothing in the filesystem. I investigated the Source map and saw that the jsx one has the field "file" equal to the path of the file, while the ts one doesn't have it.
Suggested solution
Add the "file" field/property to the TypeScript sourcemap so that it can be bound automatically in DevTools.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable