-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incompatible with typescript node16 resolution with type: module
#95
Comments
Workaround: export |
The vite config is not running in node, so you should use the bundler resolution added in TS 5 |
It can be. Vite can be used as a server middleware. |
yeah but the config will be bundled by Vite |
It can be loaded by user manually and overrides the vite config accordingly. This issue is about compatibility, I don't understand why you are requesting to change the tsconfig which is used by other tools at the same time. |
This is because
.d.ts
is considered ascommonjs
declaration by defaultThe text was updated successfully, but these errors were encountered: