mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
To support generate diagnostics in varying ways, the internal compilation classes now support a `modes` argument when diagnosing files during a build using the `application` builder. This is not exposed as an option at this time but can be experimented with a build using the `NG_BUILD_TYPE_CHECK` environment variable. This environment variable is not considered part of the public API and may be removed or altered in the future. Its current purpose is to allow profiling of the type checking diagnostics functionality of the build system.
@angular-devkit/build-angular
This package contains Architect builders used to build and test Angular applications and libraries.
Builders
Name | Description |
---|---|
application | Build an Angular application targeting a browser and server environment using esbuild. |
app-shell | Build an Angular App shell. |
browser | Build an Angular application targeting a browser environment using Webpack. |
browser-esbuild | Build an Angular application targeting a browser environment using esbuild. |
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. |
prerender | Prerender pages of your application. Prerendering is the process where a dynamic page is processed at build time generating static HTML. |
server | Build an Angular application targeting a Node.js environment. |
ssr-dev-server | A development server which offers live reload during development, but uses server-side rendering. |
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.