From 578cb4d919ae3d7714179f1d44f493978cd04b78 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 6 Jun 2021 22:23:55 +0200 Subject: [PATCH] Enable SplitChunksPlugin in Webpack production config Signed-off-by: David Mehren --- webpack.prod.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.prod.js b/webpack.prod.js index 92ee1578b..884bc6fe3 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -18,7 +18,10 @@ module.exports = [ new ESBuildMinifyPlugin({ target: 'es2015' }) - ] + ], + splitChunks: { + chunks: 'all' + } } }), merge(htmlexport, {