Adding aliases for imports
Issue-ID: NONRTRIC-451
Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: I80eb19116929600fe2cc6adcb82bb8f28fb15559
diff --git a/webapp-frontend/tsconfig.json b/webapp-frontend/tsconfig.json
index 5931c27..7cfd875 100644
--- a/webapp-frontend/tsconfig.json
+++ b/webapp-frontend/tsconfig.json
@@ -1,7 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
- "baseUrl": "./",
+ "baseUrl": "./src",
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
@@ -13,6 +13,16 @@
"importHelpers": true,
"resolveJsonModule": true,
"target": "es2015",
+ "paths": {
+ "@angular/*": [ "../node_modules/@angular/*" ],
+ "@app/*": ["app/*"],
+ "@interfaces/*": ["app/interfaces/*"],
+ "@ei-coordinator/*": ["app/ei-coordinator/*"],
+ "@policy/*": ["app/policy/*"],
+ "@services/*": ["app/services/*"],
+ "@navigation/*": ["app/navigation/*"],
+ "@ui/*": ["app/ui/*"],
+ },
"typeRoots": [
"node_modules/@types"
],