2025-03-19 15:49:18 +08:00
|
|
|
import type { NextConfig } from "next"
|
2025-06-05 17:29:32 +08:00
|
|
|
import createMDX from "@next/mdx"
|
|
|
|
|
import remarkGfm from 'remark-gfm'
|
2025-03-04 10:10:35 +08:00
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2025-04-19 16:28:17 +08:00
|
|
|
output: "standalone",
|
2025-06-06 16:17:33 +08:00
|
|
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
|
|
|
|
experimental: {
|
|
|
|
|
mdxRs: true,
|
|
|
|
|
}
|
2025-03-19 15:49:18 +08:00
|
|
|
}
|
2025-03-04 10:10:35 +08:00
|
|
|
|
2025-06-05 17:29:32 +08:00
|
|
|
const withMdx = createMDX({
|
|
|
|
|
options: {
|
|
|
|
|
remarkPlugins: [remarkGfm],
|
|
|
|
|
rehypePlugins: [],
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default withMdx(nextConfig)
|