import type { NextConfig } from "next"; import createMDX from '@next/mdx'; const nextConfig: NextConfig = { // Configure `pageExtensions` to include markdown and MDX files pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'], // Optionally, add any other Next.js config below }; const withMDX = createMDX({ // Add markdown plugins here, as desired }); export default withMDX(nextConfig);