Nx: fixes caching issues (#103443)

This commit is contained in:
Hugo Häggmark authored and GitHub committed 2025-04-04 14:36:18 +03:00
1 parent ef2705f189
commit 2c0255a72e
2 files changed
+8 -9

No files matched your search

+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"