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
A hook that runs once, when all of the builds have completed. This can be used, for instance, to run a script that patches up the build products in some way that's not possible to do during the build.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Was going to write an issue for what @geekact mentioned
I expected the onSuccess to be called after *.d.ts are generated, not between the *.js and *.d.ts
Was going to write an issue for what @geekact mentioned I expected the onSuccess to be called after *.d.ts are generated, not between the *.js and *.d.ts
Current behavior
The
onSuccess
hook runs once for every build config. In this example,./prepareNpmEntrypoints.sh
will run twice.pnpm tsup --watch --onSuccess "./prepareNpmEntrypoints.sh"
Feature request
A hook that runs once, when all of the builds have completed. This can be used, for instance, to run a script that patches up the build products in some way that's not possible to do during the build.
Upvote & Fund
The text was updated successfully, but these errors were encountered: