spaCy/website/next.config.mjs

24 lines
479 B
JavaScript
Raw Normal View History

import MDX from '@next/mdx'
2022-11-13 18:31:26 +03:00
import remarkPlugins from './plugins/index.mjs'
const withMDX = MDX({
2022-11-10 03:01:24 +03:00
extension: /\.mdx?$/,
options: {
2022-11-13 18:31:26 +03:00
remarkPlugins,
providerImportSource: '@mdx-js/react',
},
2022-11-10 04:46:35 +03:00
experimental: {
mdxRs: true,
},
2022-11-10 03:01:24 +03:00
})
2022-11-10 02:22:01 +03:00
2022-11-10 02:18:01 +03:00
/** @type {import('next').NextConfig} */
2022-11-10 02:22:01 +03:00
const nextConfig = withMDX({
2022-11-10 03:01:24 +03:00
reactStrictMode: true,
swcMinify: true,
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
})
2022-11-10 02:18:01 +03:00
export default nextConfig