fix: correct TypeScript baseUrl to resolve path aliases during build
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 2m5s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 2m5s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
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 <noreply@anthropic.com>
This commit is contained in:
parent
d649f17714
commit
e1e9b605cc
@ -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/**/*"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user