2024-08-03 10:42:25 +07:00
|
|
|
import nextMDX from '@next/mdx'
|
|
|
|
|
|
|
|
const withMDX = nextMDX()
|
|
|
|
|
2024-07-17 21:34:15 +07:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-08-03 10:42:25 +07:00
|
|
|
const nextConfig = {
|
|
|
|
// Configure `pageExtensions` to include MDX files
|
|
|
|
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
|
|
|
|
experimental: {
|
|
|
|
// Use the mdx rust compiler
|
|
|
|
mdxRs: true,
|
|
|
|
},
|
|
|
|
}
|
2024-07-17 21:34:15 +07:00
|
|
|
|
2024-08-03 10:42:25 +07:00
|
|
|
export default withMDX(nextConfig)
|