Skip to content

Commit b40270b

Browse files
committed
fix config
1 parent 7fef3b2 commit b40270b

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

next.config.mjs

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
import nextra from 'nextra'
2-
3-
const withNextra = nextra({
4-
5-
})
6-
2+
3+
/**
4+
* @type {import('next').NextConfig}
5+
*/
76
const nextConfig = {
8-
7+
output: 'export',
8+
images: {
9+
unoptimized: true // mandatory, otherwise won't export
10+
}
11+
// Optional: Change the output directory `out` -> `dist`
12+
// distDir: "build"
913
}
10-
14+
const withNextra = nextra({
15+
// ... other Nextra config options
16+
})
17+
1118
export default withNextra(nextConfig)

0 commit comments

Comments
 (0)