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

View File

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