mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 11:44:05 +08:00
Due to the update of the experimental esbuild-based browser application builder to use esbuild 0.17, the watch mode has been changed to use the new incremental API. The previous API has been removed from esbuild. The new API involves creating a build context object that can then be used to perform rebuilds of the configured application bundler as needed. All watch mode usage has been updated to use this new approach. An effort was made to minimize the amount of changes made to support this API update and limit the changeset. However, further refactoring will be possible as additional capabilities are added in the future. esbuild API reference: https://esbuild.github.io/api/#rebuild
@angular-devkit/build-angular
This package contains Architect builders used to build and test Angular applications and libraries.
Builders
Name | Description |
---|---|
app-shell | Build an Angular App shell. |
browser | Build an Angular application targeting a browser environment. |
dev-server | A development server that provides live reloading. |
extract-i18n | Extract i18n messages from an Angular application. |
karma | Execute unit tests using Karma test runner. |
ng-packagr | Build and package an Angular library in Angular Package Format (APF) format using ng-packagr. |
server | Build an Angular application targeting a Node.js environment. |
protractor | Deprecated - Run end-to-end tests using Protractor framework. |
Disclaimer
While the builders when executed via the Angular CLI and their associated options are considered stable, the programmatic APIs are not considered officially supported and are not subject to the breaking change guarantees of SemVer.