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
When type: module is used in package.json, the specification says that any import should have an extension. Following convention, if we add .js import for a typescript file, it is not able to resolve.
Describe the bug
When
type: module
is used in package.json, the specification says that any import should have an extension. Following convention, if we add .js import for a typescript file, it is not able to resolve.Reproduction
This works with a regular .ts file, but not a svelte file using ts context.
Logs
Errors: Could not resolve './some-typescript-file.js' from App.svelte
Severity
blocking all usage of vite-plugin-svelte
The text was updated successfully, but these errors were encountered: