Enable SplitChunksPlugin in Webpack production config
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
cb1428d9b0
commit
578cb4d919
@ -18,7 +18,10 @@ module.exports = [
|
|||||||
new ESBuildMinifyPlugin({
|
new ESBuildMinifyPlugin({
|
||||||
target: 'es2015'
|
target: 'es2015'
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
splitChunks: {
|
||||||
|
chunks: 'all'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
merge(htmlexport, {
|
merge(htmlexport, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user