From 95a00c63ea7cab63a771414bf21d9ba2c798de1b Mon Sep 17 00:00:00 2001 From: tobias Date: Fri, 5 Jul 2024 22:24:10 +0200 Subject: [PATCH] Disable code obfuscation --- next.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 8fece3b..7ed2947 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -11,7 +11,7 @@ const nextConfig = { HOSTNAME: process.env.HOSTNAME, }, // Disable minification & chunking for debugging - /* webpack(config, { dev }) { + webpack(config, { dev }) { config.optimization.minimize = false config.optimization.splitChunks = { cacheGroups: { @@ -20,7 +20,7 @@ const nextConfig = { } config.optimization.runtimeChunk = false return config - }, */ + }, } export default withPayload(nextConfig)