Update next.config.mjs

This commit is contained in:
Trance-0
2025-11-25 17:32:23 -06:00
parent df2425b79b
commit 65a0506487

View File

@@ -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 13, 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 */ })