Add MDX to Next

This commit is contained in:
Marcus Blättermann 2022-11-10 00:22:01 +01:00
parent 753d481bab
commit 9a57c8784c
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} */
const nextConfig = {
const nextConfig = withMDX({
reactStrictMode: true,
swcMinify: true,
}
});
module.exports = nextConfig
module.exports = nextConfig;