Skip to content

Commit

Permalink
moved back to js config files
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Aug 10, 2024
1 parent 99d2d98 commit 2dd9548
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 168 deletions.
12 changes: 7 additions & 5 deletions next.config.mjs → next.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import nextra from "nextra";

const withNextra = nextra({
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
unstable_staticImage: true,
unstable_flexsearch: {
codeblock: false
}
})

export default withNextra({
module.exports = withNextra({
output: "export",
reactStrictMode: true,
images: {
unoptimized: true
}
})
})
Loading

0 comments on commit 2dd9548

Please sign in to comment.