Files
web/next.config.ts

21 lines
400 B
TypeScript
Raw Normal View History

2025-03-19 15:49:18 +08:00
import type { NextConfig } from "next"
import createMDX from "@next/mdx"
import remarkGfm from 'remark-gfm'
2025-03-04 10:10:35 +08:00
const nextConfig: NextConfig = {
output: "standalone",
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
const withMdx = createMDX({
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
}
})
export default withMdx(nextConfig)