MDX: Move createMDXSource and resolveFiles from fumadocs-mdx to fumadocs-mdx/runtime/next

This commit is contained in:
Fuma Nama
2025-10-21 23:20:26 +08:00
parent 78a2c8c95d
commit 8d0c164786
2 changed files with 5 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-mdx': major
---
**Move `createMDXSource` and `resolveFiles` from `fumadocs-mdx` to `fumadocs-mdx/runtime/next`**
-4
View File
@@ -1,7 +1,3 @@
export type * from './runtime/shared';
// backward compat
// TODO: require importing `fumadocs-mdx/runtime/next` instead
export * from './runtime/next';
export type { ExtractedReference } from '@/loaders/mdx/remark-postprocess';