Merge branch 'disable-webpack-optimization' into 'master'

Disable webpack.optimize because it's breaking karma in EE

See merge request !13720
This commit is contained in:
Tim Zallmann 2017-08-23 05:38:16 +00:00
commit 0f74ba9672

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
);
});