title: Angular 8 Universal - No index.html in ./dist after production build
body: <p>in my SSR app I upgraded Angular 7.0 to 8.2.5. Everything looks fine except production build. The main problem is that in ./dist/browser index.html is missing. I am running build with:</p>
  
  <pre><code>ng build -c production
  </code></pre>
  
  <p>My first thoughts was that the "size budgets" has been exceeded but after limit increase, nothing change. I don't have too many ideas about where I should look for the reason of that. I started from angular.json but I think everything is fine there:</p>
  
  <pre><code>"build": {
            "builder": "udk:udk-builder",
            "options": {
              "browserTarget": "app:browser",
              "serverTarget": "app:server"
            },
            "configurations": {
              "production": {
                "browserTarget": "app:browser:production",
                "serverTarget": "app:server:production",
                "verbose": true
              }
            }
          },
          "browser": {
            "builder": "@angular-devkit/build-angular:browser",
            "options": {
              "outputPath": "dist/app/browser",
              "index": "src/index.html",
              "main": "src/main.ts",
              "polyfills": "src/polyfills.ts",
              "tsConfig": "tsconfig.app.json",
              "assets": [
                {
                  "glob": "favicon.ico",
                  "input": "src",
                  "output": "/"
                },
                {
                  "glob": "**/*",
                  "input": "src/assets",
                  "output": "/assets"
                }
              ],
              "styles": [
                "src/styles/critical-styles.scss",
                {
                  "input": "src/styles/styles.scss",
                  "bundleName": "main-styles",
                  "lazy": true
                },
                {
                  "input": "src/styles/font-styles.scss",
                  "bundleName": "font-styles",
                  "lazy": true
                }
              ],
              "scripts": []
            },
            "configurations": {
              "production": {
                "fileReplacements": [
                  {
                    "replace": "src/environments/environment.ts",
                    "with": "src/environments/environment.prod.ts"
                  }
                ],
                "optimization": true,
                "outputHashing": "all",
                "sourceMap": false,
                "extractCss": false,
                "namedChunks": true,
                "aot": true,
                "extractLicenses": true,
                "vendorChunk": true,
                "buildOptimizer": true,
                "budgets": [
                  {
                    "type": "initial",
                    "maximumWarning": "2mb",
                    "maximumError": "20mb"
                  }
                ]         
              }
            }
          },
          "server": {
            "builder": "@angular-devkit/build-angular:server",
            "options": {
              "outputPath": "dist/app/server",
              "main": "src/main.server.ts",
              "tsConfig": "tsconfig.server.json",
              "sourceMap": {
                "scripts": true,
                "styles": false
              }
            },
            "configurations": {
              "production": {
                "fileReplacements": [
                  {
                    "replace": "src/environments/environment.ts",
                    "with": "src/environments/environment.prod.ts"
                  }
                ],
                "outputHashing": "media"
              }
            }
          },
  </code></pre>
  
  <p>tsconfig.app.json:</p>
  
  <pre><code>{
    "extends": "./tsconfig.json",
    "compilerOptions": {
      "outDir": "./out-tsc/app/browser"
    },
    "include": [
      "src/**/*.ts"
    ],
    "exclude": [
      "**/*.spec.ts",
      "**/*.stories.ts",
      "e2e/**",
      "src/api/**",
      "src/app/app.server.module.ts",
      "src/server.ts",
      "src/stories/**"
    ]
  }
  </code></pre>
  
  <p>I didn't find any errors in build output. What can be the reason of index.html missing in dist folder?</p>