Skip to content

Commit a6f8d37

Browse files
committed
🔧 Ajout des customs path dans la config TS
1 parent cd6e258 commit a6f8d37

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tsconfig.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"compileOnSave": false,
44
"compilerOptions": {
5-
"baseUrl": "./",
5+
"baseUrl": "./src",
66
"outDir": "./dist/out-tsc",
77
"forceConsistentCasingInFileNames": true,
88
"strict": true,
@@ -21,7 +21,13 @@
2121
"lib": [
2222
"es2020",
2323
"dom"
24-
]
24+
],
25+
"paths": {
26+
"@app/*": ["app/*"],
27+
"@shared/*": ["app/shared/*"],
28+
"@modules/*": ["app/modules/*"],
29+
"@core/*": ["app/core/*"]
30+
}
2531
},
2632
"angularCompilerOptions": {
2733
"enableI18nLegacyMessageIdFormat": false,

0 commit comments

Comments
 (0)