From 288a8c2a9e82acd19533993e7ef8f58d177da692 Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Wed, 19 Dec 2018 00:33:44 +0000 Subject: [PATCH] fix(karma-webpack): add dynamic imports to main bundle (#384) 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 7281088..6066aaa 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, }, },