Nx: fixes caching issues (#103443)

This commit is contained in:
Hugo Häggmark 2025-04-04 13:36:18 +02:00 committed by GitHub
parent ef2705f189
commit 2c0255a72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 9 deletions

View File

@ -36,3 +36,6 @@ public/mockServiceWorker.js
# Crowdin files
public/locales/**/*.json
/.nx/cache
/.nx/workspace-data

14
nx.json
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"