Skip to content

Commit

Permalink
build: update next config
Browse files Browse the repository at this point in the history
  • Loading branch information
hadelive committed Feb 15, 2024
1 parent 3f5799a commit f1ddd00
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 f1ddd00

Please sign in to comment.