disable webpack.optimize.ModuleConcatenationPlugin during karma tests

This commit is contained in:
Mike Greiling 2017-08-21 11:23:52 -05:00
parent 63812b2fb2
commit e9bd73e1e9

View file

@ -8,6 +8,7 @@ if (webpackConfig.plugins) {
webpackConfig.plugins = webpackConfig.plugins.filter(function (plugin) {
return !(
plugin instanceof webpack.optimize.CommonsChunkPlugin ||
plugin instanceof webpack.optimize.ModuleConcatenationPlugin ||
plugin instanceof webpack.DefinePlugin
);
});