From 6d4e30ddee2dc1bb69c5753b6ce31985713b73c0 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 21 Jun 2023 13:55:23 -0400 Subject: [PATCH] env2 --- angular.json | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 710f9ac..dec6220 100644 --- a/angular.json +++ b/angular.json @@ -43,6 +43,12 @@ }, "configurations": { "production": { + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], "budgets": [ { "type": "initial", diff --git a/package.json b/package.json index 938df46..ef2b12e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "ng": "ng", "start": "ng serve --proxy-config proxy.config.local.json ", - "build": "ng build --env=prod --base-href /public-pool-ui/", + "build": "ng build --base-href /public-pool-ui/", "watch": "ng build --watch --configuration development", "test": "ng test" },