From 833458ac60ad8df236cc7ed9927b0d0c670eb5c7 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 4 Mar 2021 22:49:20 +0100 Subject: [PATCH] Ignoring dist file for angular's compiler --- angular.json | 3 ++- tsconfig.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 34d179f5..5e9368b3 100644 --- a/angular.json +++ b/angular.json @@ -97,7 +97,8 @@ "options": { "tsConfig": "tsconfig.json", "exclude": [ - "**/node_modules/**" + "**/node_modules/**", + "dist" ] } } diff --git a/tsconfig.json b/tsconfig.json index 47e2d56b..d0ef65d4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,6 +21,9 @@ ], "allowJs": true }, + "exclude": [ + "dist/**" + ], "angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true