Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(fumadocs): move Twoslash cache to .next/cache for Vercel persistence

Sushmithamallesh950e9fb5b1ff
diff --git a/fumadocs/source.config.ts b/fumadocs/source.config.ts
index 96608bc06..76d99d0bf 100644
--- a/fumadocs/source.config.ts
+++ b/fumadocs/source.config.ts
@@ -103,7 +103,7 @@ export default defineConfig({
transformerTwoslash({
explicitTrigger: false, // All TypeScript blocks are validated
typesCache: createFileSystemTypesCache({
- dir: '.cache/twoslash',
+ dir: '.next/cache/twoslash', // Inside .next/cache so Vercel persists it
}),
}),
],