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"