From 8538fa19091deb1b0cac7ba7c06d54f5ba9ede4b Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Mon, 17 Dec 2018 21:52:30 +0100 Subject: [PATCH] fix: add dynamic imports to main bundle In order to support dynamic imports we add all their contents to the main bundle as well. --- lib/KarmaWebpackController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/KarmaWebpackController.js b/lib/KarmaWebpackController.js index 72810882..6066aaa6 100644 --- a/lib/KarmaWebpackController.js +++ b/lib/KarmaWebpackController.js @@ -55,7 +55,7 @@ const defaultWebpackOptions = { cacheGroups: { commons: { name: 'commons', - chunks: 'initial', + chunks: 'all', minChunks: 1, }, },