From 295a07c9dcc890ad050645e6bd987ec3acb51e6e Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Mon, 20 Nov 2023 14:57:34 +0530 Subject: [PATCH] fix: next export --- dashboard/next.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard/next.config.js b/dashboard/next.config.js index 07236bf67..3b831dcaa 100644 --- a/dashboard/next.config.js +++ b/dashboard/next.config.js @@ -7,7 +7,11 @@ const nextConfig = { images: { unoptimized: true }, - trailingSlash: true + trailingSlash: true, + output: { + // For static sites, use 'static' + target: 'export' + } }; module.exports = withTM(nextConfig);