fix build

This commit is contained in:
KM Koushik
2025-09-06 11:46:39 +10:00
parent 99d2813f98
commit c827c1c891

View File

@@ -1,7 +1,5 @@
/** @type {import("next").NextConfig} */
const config = {
// Use static export in production by default; keep dev server dynamic
output: process.env.NEXT_OUTPUT ?? (process.env.NODE_ENV === "production" ? "export" : undefined),
images: {
// Required for static export if using images
unoptimized: true,