refactor: remove build-server.mjs and inline its logic into package.json scripts

This commit is contained in:
Haileyesus
2026-04-15 13:39:32 +03:00
parent 041516b6c7
commit 8133856d75
2 changed files with 2 additions and 62 deletions

View File

@@ -31,7 +31,8 @@
"client": "vite",
"build": "npm run build:client && npm run build:server",
"build:client": "vite build",
"build:server": "node scripts/build-server.mjs",
"prebuild:server": "node -e \"require('node:fs').rmSync('dist-server', { recursive: true, force: true })\"",
"build:server": "tsc -p server/tsconfig.json && tsc-alias -p server/tsconfig.json",
"preview": "vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p server/tsconfig.json",
"lint": "eslint src/ server/",