mirror of https://github.com/grafana/grafana.git
Nx: fixes caching issues (#103443)
This commit is contained in:
parent
ef2705f189
commit
2c0255a72e
|
@ -36,3 +36,6 @@ public/mockServiceWorker.js
|
|||
|
||||
# Crowdin files
|
||||
public/locales/**/*.json
|
||||
|
||||
/.nx/cache
|
||||
/.nx/workspace-data
|
14
nx.json
14
nx.json
|
@ -1,15 +1,11 @@
|
|||
{
|
||||
"tasksRunnerOptions": {
|
||||
"default": {
|
||||
"runner": "nx/tasks-runners/default",
|
||||
"options": {
|
||||
"cacheableOperations": ["build", "generate"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"targetDefaults": {
|
||||
"build": {
|
||||
"outputs": ["{projectRoot}/dist"]
|
||||
"outputs": ["{projectRoot}/dist"],
|
||||
"cache": true
|
||||
},
|
||||
"generate": {
|
||||
"cache": true
|
||||
}
|
||||
},
|
||||
"defaultBase": "main"
|
||||
|
|
Loading…
Reference in New Issue