mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
More work on bundling vite for production
This commit is contained in:
parent
c8ffca37b1
commit
d62e81977e
7 changed files with 48 additions and 18 deletions
|
|
@ -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 .",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue