spaCy/website/next.config.mjs
Marcus Blättermann b861b1f6ce
Convert to module
This allows to use `import/export` syntax
2022-12-20 17:46:32 +01:00

21 lines
407 B
JavaScript

import MDX from '@next/mdx'
const withMDX = MDX({
extension: /\.mdx?$/,
options: {
providerImportSource: '@mdx-js/react',
},
experimental: {
mdxRs: true,
},
})
/** @type {import('next').NextConfig} */
const nextConfig = withMDX({
reactStrictMode: true,
swcMinify: true,
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
})
export default nextConfig