This commit is contained in:
parent
116bdcecdb
commit
1ba93cfb6d
@ -11,17 +11,6 @@ const nextConfig = {
|
|||||||
PORT: process.env.PORT,
|
PORT: process.env.PORT,
|
||||||
HOSTNAME: process.env.HOSTNAME,
|
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)
|
export default withPayload(nextConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user