nx/docs/generated/devkit/getOutputsForTargetAndConfiguration.md
Jason Jean 5740a73cd8
feat(core): add the outputs of a task onto the task (#19561)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2023-10-11 23:21:14 -04:00

1.4 KiB

Function: getOutputsForTargetAndConfiguration

getOutputsForTargetAndConfiguration(task, node): string[]

Parameters

Name Type
task Task
node ProjectGraphProjectNode

Returns

string[]

Deprecated

Pass the target and overrides instead. This will be removed in v18.

getOutputsForTargetAndConfiguration(target, overrides, node): string[]

Returns the list of outputs that will be cached.

Parameters

Name Type
target Task | { configuration?: string ; project: string ; target: string }
overrides any
node ProjectGraphProjectNode

Returns

string[]