use sourcemap for correct filename and line number in logging

This commit is contained in:
einhornimmond 2025-06-11 12:12:23 +02:00
parent 6469597008
commit 5a8376cccf
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ build({
platform: 'node',
packages: 'external',
outdir: './build',
sourcemap: true,
plugins: [
{
// hardcode last db version string into index.ts, before parsing

View File

@ -45,6 +45,7 @@
"log4js": "^6.9.1",
"mysql2": "^2.3.0",
"reflect-metadata": "^0.1.13",
"source-map-support": "^0.5.21",
"ts-mysql-migrate": "^1.0.2",
"tsx": "^4.19.4",
"typeorm": "^0.3.22",