mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
Convert to module
This allows to use `import/export` syntax
This commit is contained in:
parent
863d0f0d44
commit
b861b1f6ce
|
@ -1,4 +1,6 @@
|
||||||
const withMDX = require('@next/mdx')({
|
import MDX from '@next/mdx'
|
||||||
|
|
||||||
|
const withMDX = MDX({
|
||||||
extension: /\.mdx?$/,
|
extension: /\.mdx?$/,
|
||||||
options: {
|
options: {
|
||||||
providerImportSource: '@mdx-js/react',
|
providerImportSource: '@mdx-js/react',
|
||||||
|
@ -15,4 +17,4 @@ const nextConfig = withMDX({
|
||||||
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports = nextConfig
|
export default nextConfig
|
Loading…
Reference in New Issue
Block a user