mirror of
https://github.com/makeplane/plane.git
synced 2025-12-22 22:59:33 +01:00
24 lines
512 B
JavaScript
24 lines
512 B
JavaScript
|
|
import nextMDX from '@next/mdx'
|
||
|
|
import { remarkPlugins } from './mdx/remark.mjs'
|
||
|
|
import { rehypePlugins } from './mdx/rehype.mjs'
|
||
|
|
import { recmaPlugins } from './mdx/recma.mjs'
|
||
|
|
|
||
|
|
const withMDX = nextMDX({
|
||
|
|
options: {
|
||
|
|
remarkPlugins,
|
||
|
|
rehypePlugins,
|
||
|
|
recmaPlugins,
|
||
|
|
},
|
||
|
|
})
|
||
|
|
|
||
|
|
/** @type {import('next').NextConfig} */
|
||
|
|
const nextConfig = {
|
||
|
|
reactStrictMode: true,
|
||
|
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
|
||
|
|
experimental: {
|
||
|
|
scrollRestoration: true,
|
||
|
|
},
|
||
|
|
}
|
||
|
|
|
||
|
|
export default withMDX(nextConfig)
|