Files
web/next.config.ts

21 lines
400 B
TypeScript

import type { NextConfig } from "next"
import createMDX from "@next/mdx"
import remarkGfm from 'remark-gfm'
const nextConfig: NextConfig = {
output: "standalone",
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
mdxRs: true,
}
}
const withMdx = createMDX({
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
}
})
export default withMdx(nextConfig)