title: The Base-href/deploy-url parameters don't work as expected: paths aren't changed after building
body: <p>I use Angular 6</p>
  
  <p>index.html:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;My App&lt;/title&gt;
    &lt;base href="/"&gt;
  
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;link rel="icon" type="image/x-icon" href="favicon.ico"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;app-root&gt;&lt;/app-root&gt;
  
  &lt;script src="./config.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Also, the template of one component contains the img tag:</p>
  
  <pre><code>&lt;img src="assets/spinner.gif"&gt;
  </code></pre>
  
  <p>In case I build it with the base-href/deploy-url parameters all works ok (base href, all css files and so on), except paths to config.js and assets/spinner.gif - angular-cli keeps these paths without changes.
  How to solve this?</p>
  
  <p>PS. I tried to use <code>"assets/spinner.gif"</code>, <code>"/assets/spinner.gif"</code>, <code>"./assets/spinner.gif"</code> - with the same result.</p>
  
  <p><strong>PPS</strong> Fragment of angular.json:</p>
  
  <pre><code>    {
    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
    "version": 1,
    "newProjectRoot": "projects",
    "projects": {
      "project_name": {
        "root": "",
        "sourceRoot": "src",
        "projectType": "application",
        "prefix": "app",
        "schematics": {
          "@schematics/angular:component": {
            "styleext": "scss"
          }
        },
        "architect": {
          "build": {
            "builder": "@angular-devkit/build-angular:browser",
            "options": {
              "outputPath": "dist/project_name",
              "index": "src/index.html",
              "main": "src/main.ts",
              "polyfills": "src/polyfills.ts",
              "tsConfig": "src/tsconfig.app.json",
              "assets": [
                "src/favicon.ico",
                "src/web.config",
                "src/config.js",
                "src/assets"
              ],
  </code></pre>