Skip to content

Commit

Permalink
Merge pull request #20 from hadelive/build-nextconfig
Browse files Browse the repository at this point in the history
build: update next config
  • Loading branch information
hadelive authored Feb 15, 2024
2 parents 3f5799a + f1ddd00 commit f268d4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.next/
out/
.idea
5 changes: 4 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */ })

0 comments on commit f268d4c

Please sign in to comment.