nx/docs/generated/devkit/getOutputsForTargetAndConfiguration.md
2024-01-30 16:29:05 -05:00

35 lines
1.4 KiB
Markdown

# Function: getOutputsForTargetAndConfiguration
**getOutputsForTargetAndConfiguration**(`task`, `node`): `string`[]
#### Parameters
| Name | Type |
| :----- | :-------------------------------------------------------------------------- |
| `task` | [`Task`](../../devkit/documents/Task) |
| `node` | [`ProjectGraphProjectNode`](../../devkit/documents/ProjectGraphProjectNode) |
#### Returns
`string`[]
**`Deprecated`**
Pass the target and overrides instead. This will be removed in v19.
**getOutputsForTargetAndConfiguration**(`target`, `overrides`, `node`): `string`[]
Returns the list of outputs that will be cached.
#### Parameters
| Name | Type |
| :---------- | :------------------------------------------------------------------------------------------------------------------ |
| `target` | [`Task`](../../devkit/documents/Task) \| \{ `configuration?`: `string` ; `project`: `string` ; `target`: `string` } |
| `overrides` | `any` |
| `node` | [`ProjectGraphProjectNode`](../../devkit/documents/ProjectGraphProjectNode) |
#### Returns
`string`[]