build(server): separater TS-Build für Server (server-dist) und Runtime auf Node JS statt ts-node; Dockerfile startet server-dist/index.js

This commit is contained in:
2025-10-01 22:05:01 +02:00
parent 4f901400a3
commit 9da96d7af9
3 changed files with 22 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"check:types": "tsc --noEmit",
"dev": "vite",
"build": "tsc -b && vite build",
"build": "tsc -b && vite build && tsc -p tsconfig.server.build.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"preview": "vite preview"