From 1b56242cd55d2248830a82b4e9dd37cd085d121e Mon Sep 17 00:00:00 2001 From: Tim Kendall Date: Thu, 25 Nov 2021 13:28:43 -0800 Subject: [PATCH] Exclude test files from release builds --- codegen/tsconfig.release.json | 1 + tsconfig.release.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/codegen/tsconfig.release.json b/codegen/tsconfig.release.json index e79e6fb..9cdf2da 100644 --- a/codegen/tsconfig.release.json +++ b/codegen/tsconfig.release.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.json", "include": ["src/**/*"], + "exclude": ["src/**/*.test.ts"], "compilerOptions": { "rootDir": "src", "outDir": "dist", diff --git a/tsconfig.release.json b/tsconfig.release.json index 8dae286..07f2429 100644 --- a/tsconfig.release.json +++ b/tsconfig.release.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", "include": ["src/**/*"], - "exclude": ["src/**/*_test.ts"], + "exclude": ["src/**/*_test.ts", "src/**/*.test.ts"], "compilerOptions": { "rootDir": "src", "outDir": "dist",