Skip to content

Conversation

@demensky
Copy link

If the project uses moduleResolution with the value Node16 and rollupTypes is enabled, then an error occurs:

Error: [vite:dts] Internal Error: getResolvedModule() could not resolve module name "./path/to/file"

If we do not remove .ts completely, but replace it with .js, then the problem disappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant