From 700685e9c6691df194391ca04759fa271850b30d Mon Sep 17 00:00:00 2001 From: Nicolas Paul Date: Tue, 3 Oct 2023 15:56:21 +0200 Subject: Make Next build output to out --- .gitignore | 3 ++- doc/next.config.js | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index b01b0b1..4df3704 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,5 @@ .env .DS_Store node_modules -.next +.next/ +out/ diff --git a/doc/next.config.js b/doc/next.config.js index 0bc8949..52fa434 100644 --- a/doc/next.config.js +++ b/doc/next.config.js @@ -32,11 +32,11 @@ // knowledge of the CeCILL license and that you accept its terms. const withNextra = require('nextra')({ - theme: 'nextra-theme-docs', - themeConfig: './theme.config.tsx' + theme: "nextra-theme-docs", + themeConfig: "./theme.config.tsx" }) -module.exports = withNextra() - -// If you have other Next.js configurations, you can pass them as the parameter: -// module.exports = withNextra({ /* other next.js config */ }) +module.exports = withNextra({ + output: "export", + distDir: "out" +}) -- cgit v1.2.3