From ac27c0a9ec342a5f1ab4c64a2902403d1eb6436c Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Sat, 20 Jul 2019 11:33:30 -0600 Subject: [PATCH] Fix tsconfigs --- client/tsconfig.json | 1 + common/tsconfig.json | 3 ++- server/tsconfig.json | 3 ++- tsconfig.json | 18 ++++++++++++++++-- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/client/tsconfig.json b/client/tsconfig.json index 076ea46..1e26e75 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -27,6 +27,7 @@ "./client/**/*.ts", "./client/**/*.tsx" ], + "exclude": [], "references": [{ "path": "../common" }] diff --git a/common/tsconfig.json b/common/tsconfig.json index 01c44ac..4303bdb 100644 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -15,5 +15,6 @@ }, "include": [ "./**/*.ts", - ] + ], + "exclude": [] } \ No newline at end of file diff --git a/server/tsconfig.json b/server/tsconfig.json index b92891c..15bccf7 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -21,5 +21,6 @@ }], "include": [ "./**/*.ts" - ] + ], + "exclude": [] } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 4041df4..11f6305 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,20 @@ "types": [ "node" ], - "strict": true - } + "strict": true, + "baseUrl": ".", + "paths": { + "@common/*": [ + "./common/*" + ], + "@client/*": [ + "./client/*" + ] + } + }, + "exclude": [ + "./client", + "./common", + "./server" + ] } \ No newline at end of file