mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-14 10:30:34 +03:00
Allow Next to handle .md
and .mdx
files.
This commit is contained in:
parent
a1da151f3e
commit
1ce4aacaab
|
@ -1,9 +1,12 @@
|
|||
const withMDX = require("@next/mdx")();
|
||||
const withMDX = require("@next/mdx")({
|
||||
extension: /\.mdx?$/,
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = withMDX({
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
|
||||
});
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
|
Loading…
Reference in New Issue
Block a user