@nx/angular:ng-packagr-lite
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 @nx/angular:package executor but with some key differences:
- For supported Angular versions lower than v16, it doesn't run
ngccautomatically (ngccis no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in apostinstallhook onpackage.json). - It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).
Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.