From 9826ba784c24e59fb72340c74a8c8b3b10f061fb Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Sun, 8 Mar 2020 15:08:26 +0000 Subject: [PATCH] Point tsconfig to client and server TS files only Previous config defined a glob for all TS files. But only the files required from the client or server root files need to be transpiled. This prevents the whole project build failinig due to one corrupt source file that might not be committed to the repository, and isn't actually used anywhere. --- app/tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/tsconfig.json b/app/tsconfig.json index d3e060be..9b4ebd04 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -10,7 +10,8 @@ "esModuleInterop": true, "noImplicitAny": false }, - "include": [ - "./src/**/*" + "files": [ + "./src/index.ts", + "./src/client.tsx" ] } \ No newline at end of file