Use typescript path aliases for build time import path resolution

This commit is contained in:
wiz
2024-10-22 21:05:01 +09:00
parent 5fba9595af
commit 133df2e4be
226 changed files with 1274 additions and 1269 deletions

View File

@@ -2,7 +2,12 @@
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
"types": [],
"paths": {
"@app/*" : ["src/app/*"],
"@components/*" : ["src/app/components/*"],
"@environments/*" : ["src/environments/*"]
}
},
"files": [
"src/main.ts",