title: Make Angular routes use index.html base href attribute?
body: <p>Is there any way to make the angular paths take the <code>base href</code> attribute of the <code>index.html</code> file after building the application, so that if I change the <code>base href</code> value the app makes the requests to another url without building the app again?</p>
  
  <p>I know I can achieve this by adding <code>baseHref</code> to <code>angular.json</code></p>
  
  <pre class="lang-json prettyprint-override"><code>"architect": {
     "build": {
        "builder": "@angular-devkit/build-angular:browser",
        "options": {
           "baseHref" : "/MyApp/"
        }
     }
  }
  </code></pre>
  
  <p>But I'm trying to avoid rebuilding every time.</p>
  
  <p>I also thought changing my iis site configuration, but I have multiple applications inside my site so updating the site config would break those:</p>
  
  <ul>
  <li>Site
  
  <ul>
  <li>Application 1</li>
  <li>Application 2</li>
  <li>MyApp</li>
  </ul></li>
  </ul>
  
  <p>Thanks!</p>