Skip to content

Commit

Permalink
fix(karma-webpack): add dynamic imports to main bundle (#384)
Browse files Browse the repository at this point in the history
In order to support dynamic imports we add all their contents to the main bundle as well.
  • Loading branch information
daKmoR authored and matthieu-foucault committed Dec 19, 2018
1 parent 8e69ed3 commit 288a8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/KarmaWebpackController.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const defaultWebpackOptions = {
cacheGroups: {
commons: {
name: 'commons',
chunks: 'initial',
chunks: 'all',
minChunks: 1,
},
},
Expand Down

0 comments on commit 288a8c2

Please sign in to comment.