Merge pull request #13 from Jeff-Emmett/new-website

Fix Vercel build: run Vite from root and use static classes data
This commit is contained in:
Jeff Emmett 2025-06-19 14:42:55 +02:00 committed by GitHub
commit 04121a1a85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"