@nx/angular: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 it only produces ESM2022 bundles.

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.

Options

project

Required
string

The file path for the ng-packagr configuration file, relative to the workspace root.

tsConfig

string

The full path for the TypeScript configuration file, relative to the workspace root.

poll

number

Enable and define the file watching poll time period in milliseconds. Note: this is only supported in Angular versions >= 18.0.0.

tailwindConfig

string

The full path for the Tailwind configuration file, relative to the workspace root. If not provided and a tailwind.config.js file exists in the project or workspace root, it will be used. Otherwise, Tailwind will not be configured.

watch

boolean
Default: false

Whether to run a build when any file changes.