Files
datahub/examples/alan-turing-portal/next.config.mjs
Luccas Mateus de Medeiros Gomes 0384e01bed [alan-turing-portal][m] - initial commit
2023-04-29 12:50:04 -03:00

23 lines
470 B
JavaScript

import nextMDX from '@next/mdx'
import remarkGfm from 'remark-gfm'
import rehypePrism from '@mapbox/rehype-prism'
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['js', 'jsx', 'mdx'],
reactStrictMode: true,
experimental: {
scrollRestoration: true,
},
}
const withMDX = nextMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [rehypePrism],
},
})
export default withMDX(nextConfig)