title: How to read port and host from environment.ts variable for angular.json configuration
body: <p>Is there any way to read post number and host name form environment.ts file and run the ng serve command. My requirement is to use different port and host for Dev, QA and Prod environments. </p>
  
  <p>Now I am manually changing it in angular.json file</p>
  
  <p>"serve": {
            "builder": "@angular-devkit/build-angular:dev-server",
            "options": {
              "port": 5001
              "host":'10.20.45.10'
            },</p>
  
  <p>I want to read it form environment.ts and environment-prod.ts according to the build</p>