mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
30 lines
592 B
JavaScript
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
|