From 69d16c41aa42574f74e81d16a4b0f6aba8e3ffc4 Mon Sep 17 00:00:00 2001 From: kerbethecoder Date: Tue, 30 Jul 2024 23:37:54 +0800 Subject: [PATCH] unoptimize images --- next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index ea87189..7084e66 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -2,6 +2,9 @@ const nextConfig = { basePath: process.env.NODE_ENV === 'production' ? '/sveltekit' : '', output: 'export', // <=== enables static exports + images: { + unoptimized: true, + }, reactStrictMode: true, };