From 4832a19227c3003df0c587e596f73f511c7eb316 Mon Sep 17 00:00:00 2001 From: "ANTOND." <71350868+antond15@users.noreply.github.com> Date: Thu, 18 Apr 2024 04:05:29 +0200 Subject: [PATCH] chore: generate static page --- .gitignore | 1 + next.config.js | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f74c781..1064fe9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .next node_modules +dist \ No newline at end of file diff --git a/next.config.js b/next.config.js index f6ab2b8..911e9c4 100644 --- a/next.config.js +++ b/next.config.js @@ -3,4 +3,10 @@ const withNextra = require('nextra')({ themeConfig: './theme.config.tsx', }); -module.exports = withNextra(); +module.exports = withNextra({ + output: 'export', + distDir: 'dist', + images: { + unoptimized: true, + }, +});