mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
The experimental esbuild-based browser application builder now contains initial support for watching input files and rebuilding the application via the `--watch` option. This initial implemention is not yet optimized for incremental rebuilds and will perform a full rebuild upon detection of a change. Incremental rebuild support will be added in followup changes and will significantly improve the rebuild speed. The `chokidar` npm package is used to perform the file watching which allows for native file- system event based watching. Polling is also support via the `--poll` option for environments that require it.
@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.