Add webpack runtime chunk (#8976)
This commit is contained in:
parent
182bb9d975
commit
8497b704b0
@ -114,6 +114,7 @@ function createWebpack (context, mode = 'production') {
|
||||
},
|
||||
optimization: {
|
||||
minimize: mode === 'production',
|
||||
runtimeChunk: 'single',
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
// As far as possible, we try and keep this below 1M in size.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user