-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Description
Current behavior
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"
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.
sangaline, frolic and tknickman
Metadata
Metadata
Assignees
Labels
No labels