From e00cccb0a1def6c3d066c104ca17f12fd83a46f9 Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Sun, 3 Mar 2024 00:29:36 -0500 Subject: [PATCH] update docs next config --- docs/next.config.js | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/docs/next.config.js b/docs/next.config.js index e069ee6..14bc30c 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -1,13 +1,16 @@ -const withNextra = require('nextra')({ - theme: 'nextra-theme-docs', - themeConfig: './theme.config.tsx', +const withNextra = require("nextra")({ + theme: "nextra-theme-docs", + themeConfig: "./theme.config.tsx", }); -module.exports = withNextra({ - // experimental: { - // runtime: 'experimental-edge', - // }, - images: { - unoptimized: true, - }, -}); +/** + * @type {import('next').NextConfig} + */ +const config = { + images: { + unoptimized: true, + }, + output: "export", +}; + +module.exports = withNextra(config);