From 1ba93cfb6d0b67cdb6022880ecffae645268a453 Mon Sep 17 00:00:00 2001 From: tobias Date: Tue, 25 Jun 2024 22:44:54 +0200 Subject: [PATCH] Remove webpack config --- next.config.mjs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 6ee85ff..46cfff3 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -11,17 +11,6 @@ const nextConfig = { PORT: process.env.PORT, HOSTNAME: process.env.HOSTNAME, }, - // Disable minification & chunking for debugging - webpack(config, { dev }) { - config.optimization.minimize = true - config.optimization.splitChunks = { - cacheGroups: { - default: true, - }, - } - config.optimization.runtimeChunk = true - return config - }, } export default withPayload(nextConfig)