19 lines
395 B
TypeScript
19 lines
395 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', 'md', 'mdx', 'ts', 'tsx'],
|
|
}
|
|
|
|
const withMdx = createMDX({
|
|
extension: /\.(md|mdx)$/,
|
|
options: {
|
|
remarkPlugins: [remarkGfm],
|
|
rehypePlugins: [],
|
|
}
|
|
})
|
|
|
|
export default withMdx(nextConfig)
|