Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(angular): support maxParallel, parallel, and withDeps options in webpack-browser schema #4548

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/angular/api-angular/executors/webpack-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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
6 changes: 5 additions & 1 deletion docs/angular/guides/setup-incremental-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
22 changes: 22 additions & 0 deletions docs/node/api-angular/executors/webpack-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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
22 changes: 22 additions & 0 deletions docs/react/api-angular/executors/webpack-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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
14 changes: 14 additions & 0 deletions packages/angular/src/builders/webpack-browser/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down