@nx/angular:executors | Nx

Executor References

Here is a list of all executor available for this package.

  • delegate-build

    Delegates the build to a different target while supporting incremental builds.

  • ng-packagr-lite

    Builds an Angular 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 @nx/angular:package executor but with some key differences:

    • For supported Angular versions lower than v16, it doesn't run ngcc automatically (ngcc is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a postinstall hook on package.json).
    • It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).
  • package

    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 a drop-in replacement for the @angular-devkit/build-angular:ng-packagr with additional support for incremental builds.

  • browser-esbuild

    Builds an Angular application using esbuild.

  • module-federation-dev-server

    Serves host Module Federation applications (webpack-based) allowing to specify which remote applications should be served with the host.

  • application

    Builds an Angular application using esbuild with integrated SSR and prerendering capabilities. Note: this is only supported in Angular versions >= 17.0.0.

  • extract-i18n

    Extracts i18n messages from source code.

  • webpack-browser

    Builds an Angular application using webpack.

  • dev-server

    Serves an Angular application using webpack when the build target is using a webpack-based executor, or Vite when the build target uses an esbuild-based executor.

  • webpack-server

    Builds a server Angular application using webpack. This executor is a drop-in replacement for the @angular-devkit/build-angular:server builder provided by the Angular CLI. It is usually used in tandem with the @nx/angular:webpack-browser executor when your Angular application uses a custom webpack configuration.

  • module-federation-dev-ssr

    Serves host Module Federation applications (webpack-based) that use SSR allowing to specify which remote applications should be served with the host.