diff options
| author | Nicolas Paul <n@nc0.fr> | 2023-10-03 15:56:21 +0200 |
|---|---|---|
| committer | Nicolas Paul <n@nc0.fr> | 2023-10-03 16:00:05 +0200 |
| commit | 700685e9c6691df194391ca04759fa271850b30d (patch) | |
| tree | 8556835f032d03fee7e8f276907aa20c4dc38ac4 | |
| parent | 6f7db3fcf24a642cbc8cced1ba2466e9615bc9fe (diff) | |
Make Next build output to out
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | doc/next.config.js | 12 |
2 files changed, 8 insertions, 7 deletions
@@ -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" +}) |
