enable sourcemap

This commit is contained in:
Milo Schwartz
2024-12-26 11:43:02 -05:00
parent 993eab5ac1
commit af0bc3b2c5
3 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
"db:hydrate": "npx tsx scripts/hydrate.ts",
"db:studio": "drizzle-kit studio",
"build": "mkdir -p dist && next build && node scripts/esbuild.mjs -e server/index.ts -o dist/server.mjs",
"start": "NODE_ENV=development ENVIRONMENT=prod node dist/server.mjs",
"start": "NODE_ENV=development ENVIRONMENT=prod NODE_OPTIONS=--enable-source-maps node dist/server.mjs",
"email": "email dev --dir server/emails/templates --port 3005"
},
"dependencies": {