We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd8861d commit 34658e5Copy full SHA for 34658e5
packages/core/tsup.config.ts
@@ -13,6 +13,6 @@ export default defineConfig((options) => { // The options here is derived from C
13
dts: true,
14
format: ['esm', 'cjs'],
15
minify: !options.watch,
16
- onSuccess: 'cp -a public/. dist',
+ onSuccess: process.platform === 'win32' ? 'xcopy /E /I public\\ dist\\' : 'cp -a public/. dist',
17
}
18
})
0 commit comments