Support for Next.js 16
Hi team,
I'm trying to integrate the blog-template into an existing Next.js 16 project and running into compatibility issues.
Environment
- Next.js: 16.0.6
- fumadocs-mdx: 11.6.10
- fumadocs-core: 15.6.2
Issue
When building with Next.js 16, I encounter the following error:
Cannot find module '.source/source.config.mjs'
The current createMDXSource(docs, meta) pattern from fumadocs-mdx doesn't seem to work correctly with Next.js 16's build process.
Steps to reproduce
- Create a Next.js 16 project
- Follow the blog-template integration steps
- Run
yarn build
Expected behavior
The blog template should build successfully with Next.js 16.
Possible solution
Based on fumadocs documentation, newer versions may use docs.toFumadocsSource() instead of createMDXSource(docs, meta), but this doesn't appear to be compatible with the current generated types.
Would appreciate guidance on the recommended approach for Next.js 16 compatibility, or an update to support it.
Thanks!
Support for Next.js 16
Hi team,
I'm trying to integrate the blog-template into an existing Next.js 16 project and running into compatibility issues.
Environment
Issue
When building with Next.js 16, I encounter the following error:
The current
createMDXSource(docs, meta)pattern fromfumadocs-mdxdoesn't seem to work correctly with Next.js 16's build process.Steps to reproduce
yarn buildExpected behavior
The blog template should build successfully with Next.js 16.
Possible solution
Based on fumadocs documentation, newer versions may use
docs.toFumadocsSource()instead ofcreateMDXSource(docs, meta), but this doesn't appear to be compatible with the current generated types.Would appreciate guidance on the recommended approach for Next.js 16 compatibility, or an update to support it.
Thanks!