From 8e15736dfd086ed90933657f8b8f29db5ca335ec Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 20 Jan 2025 08:14:19 +0100 Subject: [PATCH] build: add file replacements for production environment --- angular.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 1700c3a..f2cd277 100644 --- a/angular.json +++ b/angular.json @@ -45,7 +45,13 @@ "maximumError": "8kB" } ], - "outputHashing": "all" + "outputHashing": "all", + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.production.ts" + } + ] }, "development": { "optimization": false,