spaCy/website/next.config.mjs
2022-12-20 17:46:33 +01:00

30 lines
592 B
JavaScript

import MDX from '@next/mdx'
import remarkPlugins from './plugins/index.mjs'
const withMDX = MDX({
extension: /\.mdx?$/,
options: {
remarkPlugins,
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'],
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
})
export default nextConfig