summaryrefslogtreecommitdiff
path: root/config/karma.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-21 11:23:52 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-21 13:43:12 -0500
commite9bd73e1e9634b044f0856632dd2697d954b09ce (patch)
treec781e5b6ad1ee28587dbe235db8df53e13210802 /config/karma.config.js
parent63812b2fb2dc53f94ab452761553e8cc5f046f2c (diff)
downloadgitlab-ce-e9bd73e1e9634b044f0856632dd2697d954b09ce.tar.gz
disable webpack.optimize.ModuleConcatenationPlugin during karma testsdisable-webpack-optimization
Diffstat (limited to 'config/karma.config.js')
-rw-r--r--config/karma.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/karma.config.js b/config/karma.config.js
index 2f571978e08..e459f5cdac3 100644
--- a/config/karma.config.js
+++ b/config/karma.config.js
@@ -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
);
});