Disable code obfuscation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tobias 2024-07-05 22:24:10 +02:00
parent 8a85724baf
commit 95a00c63ea

View File

@ -11,7 +11,7 @@ const nextConfig = {
HOSTNAME: process.env.HOSTNAME, HOSTNAME: process.env.HOSTNAME,
}, },
// Disable minification & chunking for debugging // Disable minification & chunking for debugging
/* webpack(config, { dev }) { webpack(config, { dev }) {
config.optimization.minimize = false config.optimization.minimize = false
config.optimization.splitChunks = { config.optimization.splitChunks = {
cacheGroups: { cacheGroups: {
@ -20,7 +20,7 @@ const nextConfig = {
} }
config.optimization.runtimeChunk = false config.optimization.runtimeChunk = false
return config return config
}, */ },
} }
export default withPayload(nextConfig) export default withPayload(nextConfig)