Nx: fixes caching issues (#103443)

This commit is contained in:
Hugo Häggmark
2025-04-04 14:36:18 +03:00
committed by GitHub
parent ef2705f189
commit 2c0255a72e
2 changed files with 8 additions and 9 deletions
+3
View File
@@ -36,3 +36,6 @@ public/mockServiceWorker.js
# Crowdin files
public/locales/**/*.json
/.nx/cache
/.nx/workspace-data
+5 -9
View File
@@ -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"