@nx/js:prune-lockfile

Creates a pruned lockfile based on the project dependencies and places it into the output directory.

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

buildTarget

Required
string
Default: build

The build target that produces the output directory to place the pruned lockfile.

outputPath

string

The output path to place the pruned lockfile. Usually inferred from the outputs of the buildTarget.