Open Indronil opened 2 months ago
You can define what is cached inside nx.json
. Example:
"targetDefaults": {
"build": {
"dependsOn": ["^build", "ts-check", "i18n-extract"],
"inputs": ["production", "^production"],
"cache": true
},
"ts-check": {
"inputs": ["production", "^production"],
"cache": false
},
}
I want to only run the cache for certain targets. Can we do that? As post nx 17 cachableOperations isn't available anymore instead we have targetProjects with cache property.
Need help to figure it out.