Fix Vercel build: run Vite from root and use static classes data

This commit is contained in:
Jeff Emmett 2025-06-19 14:42:03 +02:00
parent e676d90d8b
commit 7fbc22e430
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
"license": "MIT",
"scripts": {
"dev": "NODE_ENV=development tsx server/index.ts",
"build": "cd client && npm run build",
"build:client": "cd client && npm run build",
"build": "vite build --config client/vite.config.ts",
"build:client": "vite build --config client/vite.config.ts",
"build:server": "esbuild server/index.ts --platform=node --packages=external --bundle --format=esm --outdir=dist",
"start": "NODE_ENV=production node dist/index.js",
"check": "tsc"