From 7e4be04ded27b8a0345f0b1a82a8aef70abdc063 Mon Sep 17 00:00:00 2001 From: Andrew Casey Date: Thu, 17 Sep 2020 14:43:28 -0700 Subject: [PATCH] Exclude outDir from tsconfig Consuming output as input is generally discouraged since it adds memory overhead without adding value. As a bonus, this makes it possible to build twice in a row without cleaning in between (though I suspect this file is only for editor support and the actual build happens through webpack). --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 3545c2b5..fa43aa1b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,5 +12,5 @@ "skipLibCheck": true, "skipDefaultLibCheck": true }, - "exclude": ["node_modules", "docs"] + "exclude": ["node_modules", "docs", "dist"] }