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

Skip to content

Commit 1eee1e7

Browse files
Platonnfilipesilva
authored andcommitted
docs: add breaking change note about calling scheduleBuilder with @angular-devkit/build-angular
closes angular#22152 (cherry picked from commit 25e761b)
1 parent 9fc5af8 commit 1eee1e7

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
@@ -104,6 +104,14 @@ npm install classlist.js web-animations-js --save
104104
}
105105
```
106106

107+
- 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:
108+
109+
```typescript
110+
context.scheduleBuilder('@angular-devkit/build-angular:ng-packagr', options, {
111+
target: context.target,
112+
});
113+
```
114+
107115
- 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.
108116

109117
- 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