From c4861319052357fc86d33eb08af0e0f1bb84e91e Mon Sep 17 00:00:00 2001 From: ncoronel Date: Tue, 18 Aug 2026 15:09:11 -0300 Subject: [PATCH] feat(environment): add production environment configuration and file replacements --- angular.json | 8 +++++++- src/environments/environment.production.ts | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/environments/environment.production.ts diff --git a/angular.json b/angular.json index f75e020..5e00577 100644 --- a/angular.json +++ b/angular.json @@ -59,7 +59,13 @@ "maximumError": "8kB" } ], - "outputHashing": "all" + "outputHashing": "all", + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.production.ts" + } + ] }, "development": { "optimization": true, diff --git a/src/environments/environment.production.ts b/src/environments/environment.production.ts new file mode 100644 index 0000000..8a97053 --- /dev/null +++ b/src/environments/environment.production.ts @@ -0,0 +1,6 @@ +export const environment = { + production: true, + nombre: "Producción - activo", + url: "https://backend.shopit.com.ar/api/", + urlDescarga: "url/" +};