mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +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?$/,
|
||||
options: {
|
||||
providerImportSource: '@mdx-js/react',
|
||||
|
@ -15,4 +17,4 @@ const nextConfig = withMDX({
|
|||
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
|
||||
})
|
||||
|
||||
module.exports = nextConfig
|
||||
export default nextConfig
|
Loading…
Reference in New Issue
Block a user