icebear0828 Claude Opus 4.6 commited on
Commit
5b8c195
·
1 Parent(s): 5f8456f

fix: build script vite --root incompatibility

Browse files

Replace `npx vite build --root web` with `npm run build:web`
which uses the existing `cd web && npx vite build` approach.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. package.json +1 -1
package.json CHANGED
@@ -9,7 +9,7 @@
9
  "dev": "tsx watch src/index.ts",
10
  "dev:web": "cd web && npx vite",
11
  "build:web": "cd web && npx vite build",
12
- "build": "npx vite build --root web && tsc",
13
  "start": "node dist/index.js",
14
  "check-update": "tsx scripts/check-update.ts",
15
  "check-update:watch": "tsx scripts/check-update.ts --watch",
 
9
  "dev": "tsx watch src/index.ts",
10
  "dev:web": "cd web && npx vite",
11
  "build:web": "cd web && npx vite build",
12
+ "build": "npm run build:web && tsc",
13
  "start": "node dist/index.js",
14
  "check-update": "tsx scripts/check-update.ts",
15
  "check-update:watch": "tsx scripts/check-update.ts --watch",