We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fef3b2 commit b40270bCopy full SHA for b40270b
1 file changed
next.config.mjs
@@ -1,11 +1,18 @@
1
import nextra from 'nextra'
2
-
3
-const withNextra = nextra({
4
5
-})
6
+
+/**
+ * @type {import('next').NextConfig}
+ */
7
const nextConfig = {
8
+ output: 'export',
+ images: {
9
+ unoptimized: true // mandatory, otherwise won't export
10
+ }
11
+ // Optional: Change the output directory `out` -> `dist`
12
+ // distDir: "build"
13
}
14
+const withNextra = nextra({
15
+ // ... other Nextra config options
16
+})
17
18
export default withNextra(nextConfig)
0 commit comments