diff --git a/docs/angular/api-web/executors/build.md b/docs/angular/api-web/executors/build.md index a99813e220..7f196c3165 100644 --- a/docs/angular/api-web/executors/build.md +++ b/docs/angular/api-web/executors/build.md @@ -102,6 +102,14 @@ Type: `string` The file to replace with. +### generateIndexHtml + +Default: `true` + +Type: `boolean` + +Generates `index.html` file to the output path. This can be turned off if using a webpack plugin to generate HTML such as `html-webpack-plugin` + ### index Type: `string` diff --git a/docs/node/api-web/executors/build.md b/docs/node/api-web/executors/build.md index c57f5c7e1e..5a4f16f1d7 100644 --- a/docs/node/api-web/executors/build.md +++ b/docs/node/api-web/executors/build.md @@ -103,6 +103,14 @@ Type: `string` The file to replace with. +### generateIndexHtml + +Default: `true` + +Type: `boolean` + +Generates `index.html` file to the output path. This can be turned off if using a webpack plugin to generate HTML such as `html-webpack-plugin` + ### index Type: `string` diff --git a/docs/react/api-web/executors/build.md b/docs/react/api-web/executors/build.md index a4b9f322fa..3088112bcc 100644 --- a/docs/react/api-web/executors/build.md +++ b/docs/react/api-web/executors/build.md @@ -103,6 +103,14 @@ Type: `string` The file to replace with. +### generateIndexHtml + +Default: `true` + +Type: `boolean` + +Generates `index.html` file to the output path. This can be turned off if using a webpack plugin to generate HTML such as `html-webpack-plugin` + ### index Type: `string` diff --git a/e2e/web/src/web.test.ts b/e2e/web/src/web.test.ts index 0db91372e6..7401c11f16 100644 --- a/e2e/web/src/web.test.ts +++ b/e2e/web/src/web.test.ts @@ -404,6 +404,8 @@ describe('index.html interpolation', () => { const distPath = `dist/apps/${appName}`; const resultIndexContents = readFile(`${distPath}/index.html`); - expect(resultIndexContents).toBe(expectedBuiltIndex); + expect(resultIndexContents).toMatch(/