Update build script to use esbuild

This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-04 17:43:23 +01:00
1 parent ee88fa24c3
commit 2d77fd2b86
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"dev": "NODE_ENV=development tsx server/index.ts",
"build": "vite build && tsc --project tsconfig.server.json",
"build": "vite build && esbuild server/index.ts --platform=node --packages=bundle --bundle --format=esm --outdir=dist",
"start": "NODE_ENV=production node dist/server/index.js",
"check": "tsc",
"db:push": "drizzle-kit push"