From 449a4b25d9ff459ae48036077e7a4a92a9fda48f Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Thu, 23 Jun 2022 11:38:47 -0600 Subject: [PATCH] Don't compile the .spec.ts files --- common/tsconfig.json | 6 ++++-- server/tsconfig.json | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/tsconfig.json b/common/tsconfig.json index 98480f6..ac14e8e 100644 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -15,7 +15,7 @@ // "sourceMap": true, /* Generates corresponding '.map' file. */ // "outFile": "./", /* Concatenate and emit output to single file. */ "outDir": "./dist", /* Redirect output structure to the directory. */ - // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "composite": true, /* Enable project compilation */ // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ // "removeComments": true, /* Do not emit comments to output. */ @@ -71,5 +71,7 @@ "stripInternal": true }, - "include": [ "src/**/*" ] + "exclude": [ + "src/**/*.spec.ts" + ] } diff --git a/server/tsconfig.json b/server/tsconfig.json index 02632ec..ce11146 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -71,7 +71,7 @@ "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ }, - "include": [ - "src/**/*" + "exclude": [ + "**/*.spec.ts" ] }