From 1b19d36e260cb1d68c28b2830b53f1b817736ab2 Mon Sep 17 00:00:00 2001 From: ncoronel Date: Wed, 12 Aug 2026 08:41:10 -0300 Subject: [PATCH] feat: add file replacements for local environment and update default configuration for serve --- angular.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/angular.json b/angular.json index 784c6ea..1b92efa 100644 --- a/angular.json +++ b/angular.json @@ -64,7 +64,13 @@ "local": { "optimization": false, "extractLicenses": false, - "sourceMap": true + "sourceMap": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.local.ts" + } + ] }, "homo": { "fileReplacements": [ @@ -79,6 +85,9 @@ }, "serve": { "builder": "@angular/build:dev-server", + "options": { + "port": 4300 + }, "configurations": { "production": { "buildTarget": "shopit-front:build:production" @@ -93,7 +102,7 @@ "buildTarget": "shopit-front:build:homo" } }, - "defaultConfiguration": "development" + "defaultConfiguration": "local" }, "test": { "builder": "@angular/build:unit-test"