We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b284165 commit fbbbf5dCopy full SHA for fbbbf5d
packages/build/src/esbuild.ts
@@ -9,7 +9,7 @@ export function copyPaths(copyPaths: [string, string][], srcDir: string, dstDir:
9
10
if (stats.isDirectory()) {
11
if (fs.existsSync(path.join(dstDir, dstRelPath))) {
12
- fs.rmSync(path.join(dstDir, dstRelPath), { recursive: true })
+ fs.rmSync(path.join(dstDir, dstRelPath), { recursive: true, force: true })
13
}
14
15
fs.mkdirSync(path.join(dstDir, dstRelPath), { recursive: true })
0 commit comments