@nx/js:copy-workspace-modules

Copies Workspace Modules into the output directory after a build to prepare it for use with Docker or alternatives.

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 transform.

outputPath

string

The output path to transform. Usually inferred from the outputs of the buildTarget.