More work on bundling vite for production

This commit is contained in:
Jesse Wierzbinski 2023-12-06 14:29:26 -10:00
parent c8ffca37b1
commit d62e81977e
No known key found for this signature in database
7 changed files with 48 additions and 18 deletions

View file

@ -34,7 +34,8 @@
"scripts": {
"dev": "bun run index.ts",
"vite:dev": "bunx --bun vite pages",
"start": "bun run index.ts",
"vite:build": "bunx --bun vite build pages",
"start": "NODE_ENV=production bun run index.ts & bunx --bun vite preview pages --port 5173",
"migrate-dev": "bun prisma migrate dev",
"migrate": "bun prisma migrate deploy",
"lint": "eslint --config .eslintrc.cjs --ext .ts .",