Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

fix(ok): stop turbo caching the Next.js dirs that survive a build (#4526)

Nick Gomez441a02b3f910
diff --git a/turbo.json b/turbo.json
index 925398004..6f7162211 100644
--- a/turbo.json
+++ b/turbo.json
@@ -12,7 +12,7 @@
"tasks": {
"build": {
"dependsOn": ["^build"],
- "outputs": ["dist/**", ".next/**"]
+ "outputs": ["dist/**", ".next/**", "!.next/cache/**", "!.next/dev/**"]
},
"build:desktop": {
"dependsOn": ["^build", "@inkeep/open-knowledge#build"],
@@ -62,7 +62,7 @@
},
"@inkeep/open-knowledge-docs#build": {
"dependsOn": ["^build", "typecheck"],
- "outputs": ["dist/**", ".next/**"],
+ "outputs": ["dist/**", ".next/**", "!.next/cache/**", "!.next/dev/**"],
"inputs": [
"$TURBO_DEFAULT$",
"!src/**/*.test.ts",