diff --git a/package.json b/package.json index 5765c63..429cbfe 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "lint": "biome lint .", "format": "biome format --write .", "check": "biome check .", - "build": "vite build", - "build:prod": "vite build --mode prod", - "build:preview": "vite build --mode preview", + "build": "vite build && cp dist/client/_shell.html dist/client/index.html", + "build:prod": "vite build --mode prod && cp dist/client/_shell.html dist/client/index.html", + "build:preview": "vite build --mode preview && cp dist/client/_shell.html dist/client/index.html", "serve": "vite preview", "cf-typegen": "wrangler types", "deploy": "bun run deploy:prod",