Incrementally build the DTS #529
Unanswered
Kayoshi-dev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Context
I have a monorepo, containing a frontend, a common package, and a backend.
As you can guess, I'd like to compile the common package to share some functions and types to my other packages.
So far it seems to work, but when I save my changes, tsdown compile ALL the files (969 files) to DTS and JS (even if I didn't make changes in these files), which slows down A LOT my VSCode and make all the auto suggestions incorrect for at least 30 seconds.
I think the solution would be to incrementally build the files, but I couldn't find any informations on this, am I missing something?
(Am I supposed to have some sort of an hybrid system with tsdown to compile the JS and tsc for the DTS?)
Thanks a lot for your help!
Beta Was this translation helpful? Give feedback.
All reactions