Introduction/API Reference/next.config.js Options/mdxRsmdxRsFor use with @next/mdx. Compile MDX files using the new Rust compiler. next.config.jsconst withMDX = require('@next/mdx')() /** @type {import('next').NextConfig} */ const nextConfig = { pageExtensions: ['ts', 'tsx', 'mdx'], experimental: { mdxRs: true, }, } module.exports = withMDX(nextConfig)loggingConfigure how data fetches are logged to the console when running Next.js in development mode.onDemandEntriesConfigure how Next.js will dispose and keep in memory pages created in development.