From b60e404243f00b542c7c4bbbebeb53d1016b11f7 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 22 Aug 2024 15:18:33 +0530 Subject: [PATCH] feat: added backend build sourcemap for line matching --- backend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index fbd02365b..e819aa7fe 100644 --- a/backend/package.json +++ b/backend/package.json @@ -34,9 +34,9 @@ "test": "echo \"Error: no test specified\" && exit 1", "dev": "tsx watch --clear-screen=false ./src/main.ts | pino-pretty --colorize --colorizeObjects --singleLine", "dev:docker": "nodemon", - "build": "tsup", + "build": "tsup --sourcemap", "build:frontend": "npm run build --prefix ../frontend", - "start": "node dist/main.mjs", + "start": "node --enable-source-maps dist/main.mjs", "type:check": "tsc --noEmit", "lint:fix": "eslint --fix --ext js,ts ./src", "lint": "eslint 'src/**/*.ts'",