8000 docs: add breaking change note about calling `scheduleBuilder` with `… · angular-robot/angular-cli@25e761b · GitHub
[go: up one dir, main page]

Skip to content

Commit 25e761b

Browse files
Platonnfilipesilva
authored andcommitted
docs: add breaking change note about calling scheduleBuilder with @angular-devkit/build-angular
closes angular#22152
1 parent ecd9fb5 commit 25e761b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ npm install classlist.js web-animations-js --save
171171
}
172172
```
173173

174+
- Calling `BuilderContext.scheduleBuilder()` with a builder from `@angular-devkit/build-angular` now requires passing the `target` property in the 3rd argument, like in the following example:
175+
176+
```typescript
177+
context.scheduleBuilder('@angular-devkit/build-angular:ng-packagr', options, {
178+
target: context.target,
179+
});
180+
```
181+
174182
- The automatic inclusion of Angular-required ES2015 polyfills to support ES5 browsers has been removed. Previously when targetting ES5 within the application's TypeScript configuration or listing an ES5 requiring browser in the browserslist file, Angular-required polyfills were included in the built application. However, with Angular no longer supporting IE11, there are now no browsers officially supported by Angular that would require these polyfills. As a result, the automatic inclusion of these ES2015 polyfills has been removed. Any polyfills manually added to an application's code are not affected by this change.
175183

176184
- With this change a number of deprecated dev-server builder options which proxied to the browser builder have been removed. These options should be configured in the browser builder instead.

0 commit comments

Comments
 (0)
0