Skip to content

Commit fbbbf5d

Browse files
committed
Fix build on windows
1 parent b284165 commit fbbbf5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/build/src/esbuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function copyPaths(copyPaths: [string, string][], srcDir: string, dstDir:
99

1010
if (stats.isDirectory()) {
1111
if (fs.existsSync(path.join(dstDir, dstRelPath))) {
12-
fs.rmSync(path.join(dstDir, dstRelPath), { recursive: true })
12+
fs.rmSync(path.join(dstDir, dstRelPath), { recursive: true, force: true })
1313
}
1414

1515
fs.mkdirSync(path.join(dstDir, dstRelPath), { recursive: true })

0 commit comments

Comments
 (0)