Compile TypeScript custom server in start script #8

Merged
nabarun merged 2 commits from ag-update-script into main 2025-01-31 09:13:13 +00:00
Showing only changes of commit a19293dae6 - Show all commits

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "ts-node --project tsconfig.server.json server.ts",
"build": "next build && tsc --project tsconfig.server.json",
"build": "next build",
"start": "tsc --project tsconfig.server.json && NODE_ENV=production PORT=80 node dist/server.js",
"lint": "next lint"
},