Update next.config.mjs
This commit is contained in:
@@ -20,13 +20,7 @@ const bundleAnalyzer = withBundleAnalyzer({
|
||||
})
|
||||
|
||||
export default bundleAnalyzer(withNextra({
|
||||
|
||||
// static export start
|
||||
output: 'export',
|
||||
images: {
|
||||
unoptimized: true // mandatory, otherwise won't export
|
||||
},
|
||||
// static export end
|
||||
output: 'standalone',
|
||||
|
||||
// eslint: {
|
||||
// ignoreDuringBuilds: true,
|
||||
@@ -40,4 +34,7 @@ export default bundleAnalyzer(withNextra({
|
||||
// staticGenerationMaxConcurrency: 2, // try 1–3, default is 8
|
||||
// staticGenerationMinPagesPerWorker: 1 // keep small, default is 25
|
||||
// }
|
||||
}))
|
||||
}))
|
||||
|
||||
// If you have other Next.js configurations, you can pass them as the parameter:
|
||||
// export default withNextra({ /* other next.js config */ })
|
||||
Reference in New Issue
Block a user