The onSuccess
hook runs once for every build config. In this example, ./prepareNpmEntrypoints.sh
will run twice.
// tsup.config.ts
export default defineConfig([
{ /* ... */ },
{ /* ... */ },
]);
pnpm tsup --watch --onSuccess "./prepareNpmEntrypoints.sh"
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.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too