feat: Update build scripts and configurations for client and server environments

This commit is contained in:
2026-01-05 22:54:49 +07:00
parent 0042fd1951
commit 92608b52e2
5 changed files with 34 additions and 23 deletions

View File

@@ -3,7 +3,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "vite build && bun build dist/server/index.js --target bun --outdir dist",
"preview": "vite preview",
"deploy": "wrangler deploy",
"cf-typegen": "wrangler types --env-interface CloudflareBindings"