From e1e9b605cc23ca0473f7384500a0d09471961aa2 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 17 Nov 2025 01:35:55 +0100 Subject: [PATCH] fix: correct TypeScript baseUrl to resolve path aliases during build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed baseUrl from "./" to "./src" and updated paths to be relative to src directory. This allows TypeScript to correctly resolve imports using @domain/*, @application/*, and @infrastructure/* aliases during compilation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/backend/tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/backend/tsconfig.json b/apps/backend/tsconfig.json index 3043c15..4feea10 100644 --- a/apps/backend/tsconfig.json +++ b/apps/backend/tsconfig.json @@ -9,7 +9,7 @@ "target": "ES2021", "sourceMap": true, "outDir": "./dist", - "baseUrl": "./", + "baseUrl": "./src", "incremental": true, "skipLibCheck": true, "strictNullChecks": true, @@ -23,9 +23,9 @@ "resolveJsonModule": true, "esModuleInterop": true, "paths": { - "@domain/*": ["src/domain/*"], - "@application/*": ["src/application/*"], - "@infrastructure/*": ["src/infrastructure/*"] + "@domain/*": ["domain/*"], + "@application/*": ["application/*"], + "@infrastructure/*": ["infrastructure/*"] } }, "include": ["src/**/*"],