Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added backend build sourcemap for line matching

=b60e404243f0
diff --git a/backend/package.json b/backend/package.json
index fbd02365b5..e819aa7fed 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'",