nx/docs/angular/api-angular/executors/ng-packagr-lite.md
Craigory V Coppola a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00

955 B

@nrwl/angular:ng-packagr-lite

Builds a library with support for incremental builds.

Options can be configured in angular.json when defining the executor, or when invoking it.

Options

project (required)

Type: string

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

buildableProjectDepsInPackageJsonType

Default: peerDependencies

Type: string

Possible values: dependencies, peerDependencies

When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies or dependencies.

tsConfig

Type: string

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

updateBuildableProjectDepsInPackageJson

Default: true

Type: boolean

Whether to update the buildable project dependencies in package.json.

watch

Default: false

Type: boolean

Whether to run a build when any file changes.