rsnext/examples/app-dir-mdx/next.config.js
2023-07-05 21:45:39 +00:00

10 lines
234 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
experimental: {
mdxRs: true,
},
}
const withMDX = require('@next/mdx')()
module.exports = withMDX(nextConfig)