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
I'm developing a Vite plugin that generates TypeScript interfaces and adds them to the end of each .tsx file during the build process. However, the output .d.ts files do not include the newly generated interfaces. How can I achieve this?
The text was updated successfully, but these errors were encountered:
Dear @qmhc I believe that using hooks may not be beneficial in this context, as the process is fundamentally logical and does not require additional complexity.
It's important to note that Vite gives the paths of several .ts(x) files as input, and various plugins can modify the content of these files without modifying the original resources on disk.
Ultimately, the vite-plugin-dts plugin should generate .d.ts files based on the most recent changes made during the build process, rather than relying on the original file paths.
I'm developing a Vite plugin that generates TypeScript interfaces and adds them to the end of each .tsx file during the build process. However, the output .d.ts files do not include the newly generated interfaces. How can I achieve this?
The text was updated successfully, but these errors were encountered: