mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 23:49:51 +00:00
fix(nextjs): add support next.config.mts for mdx (#2550)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"fumadocs-mdx": patch
|
||||
---
|
||||
|
||||
add support next.config.mts for mdx
|
||||
@@ -7,6 +7,7 @@ async function start() {
|
||||
const isNext =
|
||||
existsSync('next.config.js') ||
|
||||
existsSync('next.config.mjs') ||
|
||||
existsSync('next.config.mts') ||
|
||||
existsSync('next.config.ts');
|
||||
|
||||
if (isNext) {
|
||||
|
||||
Reference in New Issue
Block a user