From c81b3ff45582a9ad94b5595d665b6e7a2c60f97e Mon Sep 17 00:00:00 2001 From: Nathan Brahms Date: Tue, 20 Feb 2024 14:52:51 -0800 Subject: [PATCH] Exclude jest __mocks__ directory from build --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9209c28..b53dbe1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -102,5 +102,7 @@ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */ - } + }, + + "exclude": ["build/", "__mocks__/", "node_modules/"], }