v18.0.0
18.0.0 (2024-05-22)
@schematics/angular
@angular/cli
@angular-devkit/architect
Commit | Description |
---|---|
resolve builder aliases from containing package |
@angular-devkit/build-angular
@angular-devkit/schematics
Commit | Description |
---|---|
deprecate NodePackageLinkTask |
@angular/build
Breaking Changes
@angular/cli
- The
ng doc
command has been removed without a replacement. To perform searches, please visit www.angular.dev - Node.js support for versions <18.19.1 and <20.11.1 has been removed.
@angular-devkit/build-angular
-
By default, the index.html file is no longer emitted in the browser directory when using the application builder with SSR. Instead, an index.csr.html file is emitted. This change is implemented because in many cases server and cloud providers incorrectly treat the index.html file as a statically generated page. If you still require the old behavior, you can use the
index
option to specify theoutput
file name."architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/my-app", "index": { "input": "src/index.html", "output": "index.html" } } } }
-
The support for the legacy Sass build pipeline, previously accessible via
NG_BUILD_LEGACY_SASS
when utilizing webpack-based builders, has been removed.
Deprecations
@angular-devkit/schematics
NodePackageLinkTask
in@angular-devkit/schematics
. A custom task should be created instead.