Add MDX to Next

This commit is contained in:
Marcus Blättermann 2022-11-10 00:22:01 +01:00
parent f00c4f7e19
commit a1da151f3e
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -1,7 +1,9 @@
const withMDX = require("@next/mdx")();
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = withMDX({
reactStrictMode: true, reactStrictMode: true,
swcMinify: true, swcMinify: true,
} });
module.exports = nextConfig module.exports = nextConfig;