build: don't fail if dist is already created

This commit is contained in:
zhom
2025-11-29 16:23:36 +04:00
parent 287b5a2190
commit 61dcbbc715
3 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"build": {
"beforeDevCommand": "pnpm copy-proxy-binary && pnpm dev",
"devUrl": "http://localhost:3000",
"beforeBuildCommand": "pnpm copy-proxy-binary && pnpm build",
"beforeBuildCommand": "pnpm copy-proxy-binary && (test -d ../dist || pnpm build)",
"frontendDist": "../dist"
},
"app": {