@angular-devkit/build-angular
22.2.5 · 28 Oct 2026MIT2.8M / weekRepositorynpmAtom feed
13.3.11 is the newest release of 13.x.
In short
13 breaking1 deprecated
- breaking
Support for
karma-coverage-instanbul-reporterhas been dropped in favor of the official karma coverage pluginkarma-coverage. - breaking
Support for
node-sasshas been removed.sasswill be used by default to compile SASS and SCSS files. - breaking
NG_PERSISTENT_BUILD_CACHEenvironment variable option no longer have effect. Configurecli.cachein the workspace configuration instead. - breaking
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.
- breaking
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.
- breaking
With this change we removed several deprecated builder options
- breaking
extractCsshas been removed from the browser builder. CSS is now always extracted. - breaking
servePathDefaultWarningandhmrWarninghave been removed from the dev-server builder. These options had no effect.
Release note
The section about @angular-devkit/build-angular of a note shared by several packages.
Breaking Changes
@angular-devkit/build-angular
- breaking
Support for
karma-coverage-instanbul-reporterhas been dropped in favor of the official karma coverage pluginkarma-coverage. - breaking
Support for
node-sasshas been removed.sasswill be used by default to compile SASS and SCSS files. - breaking
NG_PERSISTENT_BUILD_CACHEenvironment variable option no longer have effect. Configurecli.cachein the workspace configuration instead.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"cache": {
"enabled": true,
"path": ".custom-cache-path",
"environment": "all"
}
}
...
}- breaking
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.
- breaking
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.
The removed options are:
aotsourceMapdeployUrlbaseHrefvendorChunkcommonChunkoptimizationprogress
- breaking
With this change we removed several deprecated builder options
- breaking
extractCsshas been removed from the browser builder. CSS is now always extracted. - breaking
servePathDefaultWarningandhmrWarninghave been removed from the dev-server builder. These options had no effect. - breaking
Deprecated
@angular-devkit/build-angular:tslintbuilder has been removed. Use github.com/angular-eslint/angular-eslint instead. - breaking
Differential loading support has been removed. With Angular no longer supporting IE11, there are now no browsers officially supported by Angular that require ES5 code. As a result, differential loading's functionality for creating and conditionally loading ES5 and ES2015+ variants of an application is no longer required.
- breaking
TypeScript versions prior to 4.4 are no longer supported.
- breaking
The dev-server now uses WebSockets to communicate changes to the browser during HMR and live-reloaded. If during your development you are using a proxy you will need to enable proxying of WebSockets.
- breaking
We remove inlining of Google fonts in WOFF format since IE 11 is no longer supported. Other supported browsers use WOFF2.
Deprecations
@angular-devkit/build-angular
- deprecated
NG_BUILD_CACHEenvironment variable option will be removed in the next major version. Configurecli.cachein the workspace configuration instead.
@angular-devkit/build-angular
| Commit | Description |
|---|---|
| feat - f53bf9dc2 | add type=module to all scripts tags |
| feat - e95ecb8ab | deprecate deployUrl |
| feat - 7dcfffaff | drop support for karma-coverage-instanbul-reporter |
| feat - ac3fc2752 | drop support for node-sass |
| feat - 5904afd1d | enable disk cache by default and provide configurable options |
| feat - 22cd9edfa | favor es2020 main fields |
| feat - 7576136b2 | remove automatic inclusion of ES5 browser polyfills |
| feat - 000b0e51c | remove deprecated dev-server options |
| feat - 20e48a33c | remove deprecated options |
| feat - e78f6ab5d | remove deprecated tslint builder |
| feat - 701214d17 | remove differential loading support |
| feat - fb1ad7c5b | support ESM proxy configuration files for the dev server |
| feat - 505438cc4 | support TypeScript 4.4 |
| feat - 32dbf659a | update webpack-dev-server to version 4 |
| fix - c1efaa17f | calculate valid Angular versions from peerDependencies |
| fix - d7af4a7b5 | enable custom es2020 and es2015 conditional exports |
| fix - f383f3201 | ESM-interop loaded plugin creators of @angular/localize/tools not respected |
| fix - 7934becb5 | generate unique webpack runtimes |
| fix - b14e0a547 | improve sourcemaps fidelity when code coverage is enabled |
| fix - e19287453 | move @angular/localize detection prior to webpack initialization |
| fix - 76d6d8826 | set browserslist defaults |
| fix - 167eed465 | update Angular peer dependencies to v13.0 prerelease |
| fix - 1d8cdf853 | update esbuild to 0.13.12 |
| fix - 884111ac0 | update IE unsupported and deprecation messages |
| fix - 4be6537dd | update TS/JS regexp checks to latest extensions |
| fix - 427a9ee97 | update workspace tsconfig lib es2020 |
| fix - ea926db25 | use es2015 when generating server bundles |
| fix - 13cceab8e | use URLs for absolute import paths with ESM |
| perf - 4e0743c8a | change webpack hashing function to xxhash64 |
| perf - cb7d156c2 | use esbuild as a CSS optimizer for global styles |
| perf - 8e82263c5 | use esbuild/terser combination to optimize global scripts |
| refactor - e82eef924 | remove WOFF handling from inline-fonts processor |