From f6aec70569c430234e4136504dbb707d883984f5 Mon Sep 17 00:00:00 2001 From: nickschneider Date: Sun, 3 Nov 2024 12:43:10 +0100 Subject: [PATCH] use environment.prod.ts as env --- angular.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/angular.json b/angular.json index f4d656c..1930f4b 100644 --- a/angular.json +++ b/angular.json @@ -29,7 +29,7 @@ { "glob": "**/*", "input": "public" - }, + }, "src/assets" ], "styles": [ @@ -51,6 +51,12 @@ "maximumError": "4kB" } ], + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], "outputHashing": "all" }, "development": { @@ -106,4 +112,4 @@ } } } -} +} \ No newline at end of file