File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ const baseConfig: Options & {
124124 // All instances of tsup will try to copy at the same time and could fail with "cp: cannot create regular file './dist/...': File exists".
125125 // We can have multiple config writing to their own folder and copy-merge. But then each config will own their version of `onSuccess`, could be messy.
126126
127- onSuccess : `while [ -z "$(find ./dist.tmp -name '*.d.ts' -print -quit)" ]; do sleep 0.2; done; mkdir -p ./dist/; until cp ./dist.tmp/* ./dist/; do sleep 0.5; done` ,
127+ onSuccess : `while [ -z "$(find ./dist.tmp \\( -name '*.d.ts' -o -name '*.d.mts' \\) - print -quit)" ]; do sleep 0.2; done; mkdir -p ./dist/; sleep 0.5 ; until cp ./dist.tmp/* ./dist/; do sleep 0.5; done` ,
128128 outDir : './dist.tmp/'
129129} ;
130130
You can’t perform that action at this time.
0 commit comments