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" ] }