-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Watch Mode and D.TS generation #970
Comments
@Christopher2K how exactly are you using the Edit: to fix the above and keep things consistent, I'm using the following for my |
That's actually a good idea. The only reason I used tsc is because I feel like d.ts generation is slower with tsup. |
@Christopher2K what |
Can confirm that I'm hitting this as well when using |
I confirm the issue with both
How can I run Or any pointers on how to contribute to a fix? |
Description
Hi!
I'm using
tsup
in watch mode for a shared library in a monorepo. I can't get the d.ts generation working in watch mode.My config
Output after saving a file
^ Note that this output doesn't mention dts file and when
Workaround
I'm currently using
tsup --onSuccess
script option to run tsc to get the d.ts files. I'd prefer a built-in solution since this requires me to align tsup and tsc config everytime I'm adding a moduleInfo
Thanks!
Upvote & Fund
The text was updated successfully, but these errors were encountered: