Remove webpack config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tobias 2024-06-25 22:44:54 +02:00
parent 116bdcecdb
commit 1ba93cfb6d

View File

@ -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)