Delegates the build to a different target while supporting incremental builds.
@nx/angular:executors | Nx
Executor References
Here is a list of all executor available for this package.
Builds a library with support for incremental builds. This executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the
@nrwl/angular:package
executor but with some key differences:- It doesn't run
ngcc
automatically (ngcc
needs to be run separately beforehand if needed, this can be done in apostinstall
hook onpackage.json
). - It only produces ESM2020 bundles.
- It doesn't generate package exports in the
package.json
.
- It doesn't run
Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package. This executor is similar to the
@angular-devkit/build-angular:ng-packagr
with additional support for incremental builds.Builds your application with esbuild and adds support for incremental builds.
The module-federation-dev-server executor is reserved exclusively for use with host Module Federation applications. It allows the user to specify which remote applications should be served with the host.
Builds an application with esbuild with support for incremental builds.
The
webpack-browser
executor is very similar to the standardbrowser
builder provided by the Angular Devkit. It allows you to build your Angular application to a build artifact that can be hosted online. There are some key differences:- Supports Custom Webpack Configurations
- Supports Incremental Building
The
dev-server
executor is very similar to the standarddev-server
builder provided by the Angular Devkit. It is usually used in tandem with@nrwl/angular:webpack-browser
when your Angular application uses a custom webpack configuration.The
webpack-server
executor is very similar to the standardserver
builder provided by the Angular Devkit. It is usually used in tandem with@nrwl/angular:webpack-browser
when your Angular application uses a custom webpack configuration and NgUniversal for SSR.The module-federation-dev-ssr executor is reserved exclusively for use with host Module Federation applications that use SSR. It allows the user to specify which remote applications should be served with the host.