From f0e9d9ff7f0b8ec5834b2bd89e14ec861766309e Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 7 Nov 2019 22:53:11 +0200 Subject: [PATCH] Fix @shared tsconfig paths so they resolve properly --- backend/tsconfig.json | 2 +- dashboard/tsconfig.json | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/tsconfig.json b/backend/tsconfig.json index efa67538..2b555b99 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -11,7 +11,7 @@ "es2017", "esnext" ], - "baseUrl": "src", + "baseUrl": ".", "resolveJsonModule": true, "esModuleInterop": true, "outDir": "./dist", diff --git a/dashboard/tsconfig.json b/dashboard/tsconfig.json index f9649daa..bc0389ac 100644 --- a/dashboard/tsconfig.json +++ b/dashboard/tsconfig.json @@ -13,14 +13,12 @@ "esnext", "dom" ], - "baseUrl": "src", + "baseUrl": ".", "resolveJsonModule": true, "esModuleInterop": true, "allowJs": true, "paths": { - "@shared/*": [ - "../shared/src/*" - ] + "@shared/*": ["../shared/src/*"] } } }