import createMDX from '@next/mdx' /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export', pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'], // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` // trailingSlash: true, // Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` // skipTrailingSlashRedirect: true, // Optional: Change the output directory `out` -> `dist` // distDir: 'dist', }; const withMDX = createMDX({ // Add markdown plugins here, as desired }) export default withMDX(nextConfig);