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
Fails to generate types every second run (when types are already in dist directory) #254
Comments
The previous fix broke the generation of map files, so I decided to revert the previous fix and seek an alternative solution. Therefore, I reopened the issue. You can use version |
It's due to TypeScript version. In the latest version it seems that the issue has been resolved. See #260 (comment). |
I'm still seeing this issue, or a similar issue, with version |
@thiemok You can try to provide a minimum reproduction and create a new issue. |
The issue is frankly very intermittent for me and I was able to avoid it by downgrading to |
Describe the bug
When dist directory already has types, vite-plugin-dts removes existing types but fails to generate new ones. It seems similar to #203 however I can still repro on 3.3.1. So I guess not duplicate as different major version and based on comments it should be fixes in 3.0
Screen.Recording.2023-07-29.at.01.17.44.mov
Reproduction
https://github.com/dlitsman/react-wake-lock/tree/feature/vite-build
Steps to reproduce
System Info
Validations
The text was updated successfully, but these errors were encountered: