import nextMDX from '@next/mdx' const withMDX = nextMDX() /** @type {import('next').NextConfig} */ const nextConfig = { // Configure `pageExtensions` to include MDX files pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'], experimental: { // Use the mdx rust compiler mdxRs: true, }, } export default withMDX(nextConfig)