Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 389 Bytes

cacheable-operations.md

File metadata and controls

5 lines (3 loc) · 389 Bytes

cacheableOperations

In Nx < 17, the way to define which tasks were cacheable was to add the task name to the cacheableOperations array in nx.json. This way of defining cacheable tasks required all tasks named test to be either cacheable or not cacheable.

In Nx 17, use the cache property in targetDefaults or individual target definitions in the project level configuration.