diff --git a/deploy/system-wrangler.jsonc b/deploy/system-wrangler.jsonc index 0d17791..9ccc1c1 100644 --- a/deploy/system-wrangler.jsonc +++ b/deploy/system-wrangler.jsonc @@ -63,7 +63,7 @@ ], "build": { - "command": "pnpm install --frozen-lockfile && pnpm exec vite build --outDir dist/public", + "command": "pnpm install --frozen-lockfile --ignore-workspace && ./node_modules/.bin/vite build --outDir dist/public && test -s dist/public/index.html", "cwd": ".." }, diff --git a/wrangler.jsonc b/wrangler.jsonc index a742309..10ac36d 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -59,7 +59,7 @@ "observability": { "enabled": false }, "build": { - "command": "pnpm install --frozen-lockfile && pnpm exec vite build --outDir dist/public" + "command": "pnpm install --frozen-lockfile --ignore-workspace && ./node_modules/.bin/vite build --outDir dist/public && test -s dist/public/index.html" }, "assets": {