diff --git a/docs/angular/api-angular/executors/webpack-browser.md b/docs/angular/api-angular/executors/webpack-browser.md index a153abbc7c6a1..82bf23be23f27 100644 --- a/docs/angular/api-angular/executors/webpack-browser.md +++ b/docs/angular/api-angular/executors/webpack-browser.md @@ -166,6 +166,12 @@ Type: `string` The full path for the main entry point to the app, relative to the current workspace. +### maxParallel + +Type: `number` + +Max number of parallel jobs + ### namedChunks Default: `true` @@ -206,6 +212,14 @@ Type: `string` By default, writes output to a folder named dist/ in the current project. +### parallel + +Default: `true` + +Type: `boolean` + +Build the target in parallel + ### poll Type: `number` @@ -323,3 +337,11 @@ Run build when files change. Type: `string` TypeScript configuration for Web Worker modules. + +### withDeps + +Default: `true` + +Type: `boolean` + +Build the target and all its deps diff --git a/docs/angular/guides/setup-incremental-builds.md b/docs/angular/guides/setup-incremental-builds.md index 58771181e8179..553eb0dc06d6e 100644 --- a/docs/angular/guides/setup-incremental-builds.md +++ b/docs/angular/guides/setup-incremental-builds.md @@ -83,7 +83,11 @@ Note: you can specify the `--with-deps` and `--parallel` flags as part of the op "architect": { "build": { "builder": "@nrwl/angular:webpack-browser", - "options": { ... } + "options": { + "withDeps": true, + "parallel": true + ... + }, "configurations": { ... } }, "serve": { diff --git a/docs/node/api-angular/executors/webpack-browser.md b/docs/node/api-angular/executors/webpack-browser.md index 8d7e9b8b84a31..97d29b7f79d7d 100644 --- a/docs/node/api-angular/executors/webpack-browser.md +++ b/docs/node/api-angular/executors/webpack-browser.md @@ -167,6 +167,12 @@ Type: `string` The full path for the main entry point to the app, relative to the current workspace. +### maxParallel + +Type: `number` + +Max number of parallel jobs + ### namedChunks Default: `true` @@ -207,6 +213,14 @@ Type: `string` By default, writes output to a folder named dist/ in the current project. +### parallel + +Default: `true` + +Type: `boolean` + +Build the target in parallel + ### poll Type: `number` @@ -324,3 +338,11 @@ Run build when files change. Type: `string` TypeScript configuration for Web Worker modules. + +### withDeps + +Default: `true` + +Type: `boolean` + +Build the target and all its deps diff --git a/docs/react/api-angular/executors/webpack-browser.md b/docs/react/api-angular/executors/webpack-browser.md index a5fad6891ddce..7c6102e042465 100644 --- a/docs/react/api-angular/executors/webpack-browser.md +++ b/docs/react/api-angular/executors/webpack-browser.md @@ -167,6 +167,12 @@ Type: `string` The full path for the main entry point to the app, relative to the current workspace. +### maxParallel + +Type: `number` + +Max number of parallel jobs + ### namedChunks Default: `true` @@ -207,6 +213,14 @@ Type: `string` By default, writes output to a folder named dist/ in the current project. +### parallel + +Default: `true` + +Type: `boolean` + +Build the target in parallel + ### poll Type: `number` @@ -324,3 +338,11 @@ Run build when files change. Type: `string` TypeScript configuration for Web Worker modules. + +### withDeps + +Default: `true` + +Type: `boolean` + +Build the target and all its deps diff --git a/packages/angular/src/builders/webpack-browser/schema.json b/packages/angular/src/builders/webpack-browser/schema.json index f43e08c9be7a6..06320cdb8a9be 100644 --- a/packages/angular/src/builders/webpack-browser/schema.json +++ b/packages/angular/src/builders/webpack-browser/schema.json @@ -344,6 +344,20 @@ "type": "string" }, "default": [] + }, + "withDeps": { + "type": "boolean", + "description": "Build the target and all its deps", + "default": true + }, + "parallel": { + "type": "boolean", + "description": "Build the target in parallel", + "default": true + }, + "maxParallel": { + "type": "number", + "description": "Max number of parallel jobs" } }, "additionalProperties": false,