From f1ddd00c5505e57c7c1e1eadffc2f3b614f1db9d Mon Sep 17 00:00:00 2001 From: hade Date: Thu, 15 Feb 2024 11:42:48 +0700 Subject: [PATCH] build: update next config --- .gitignore | 1 + next.config.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 756f2f7..3366efc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ .next/ +out/ .idea diff --git a/next.config.js b/next.config.js index d6a4679..2dfa00f 100644 --- a/next.config.js +++ b/next.config.js @@ -3,7 +3,10 @@ const withNextra = require('nextra')({ themeConfig: './theme.config.jsx' }) -module.exports = withNextra() +module.exports = { + ...withNextra(), + output: 'export', +} // If you have other Next.js configurations, you can pass them as the parameter: // module.exports = withNextra({ /* other next.js config */ })