From a1da151f3ef07732f7ade44086e0375af44b35d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Thu, 10 Nov 2022 00:22:01 +0100 Subject: [PATCH] Add MDX to Next --- website/next.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/next.config.js b/website/next.config.js index ae887958d..5f83538a9 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -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;