Skip to content

🎥 Make videos programmatically with React

try windows changes

Jonny Burger77a8b7bff17e
diff --git a/packages/bundler/src/bundler.ts b/packages/bundler/src/bundler.ts
index ac85dd1262..ecc8b2e835 100644
--- a/packages/bundler/src/bundler.ts
+++ b/packages/bundler/src/bundler.ts
@@ -60,10 +60,12 @@ export const bundle = async (
if (process.platform === 'win32') {
await execa('xcopy', [
path.join(process.cwd(), 'public'),
- outDir,
- '/s',
- '/e',
- '/y',
+ path.join(outDir, 'public'),
+ '/S',
+ '/E',
+ '/C',
+ '/H',
+ '/Y',
]);
} else {
await execa('cp', ['-a', path.join(process.cwd(), 'public'), outDir]);