16 lines
339 B
JavaScript
16 lines
339 B
JavaScript
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)
|