mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
To allow lower overhead trial of the developer preview of the esbuild-based builder system, the development server now has an option to force the usage of the esbuild-based build system while still retaining the default Webpack-based build system for the `build` command. The `forceEsbuild`/`--force-esbuild` option can be added to the `angular.json` options for the `serve` target or used on the command line, respectively. The `browser-esbuild` builder will be used to build the application using the options specified by the server configuration's `browserTarget` option. Unsupported build options will be ignored. If using a third-party builder, a warning will be issued but the build will still be attempted. Third-party builder usage in this context is considered unsupported and may result in unexpected behavior or build failures.
@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.