summaryrefslogtreecommitdiff
path: root/config/karma.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-06-21 12:36:17 -0500
committerMike Greiling <mike@pixelcog.com>2018-06-21 12:36:17 -0500
commit5a0e6f9a8ffbb2ba05a11179d734b07bc854d155 (patch)
tree19ba8947bbb0dcf7cca1f911b1c8a9582dd33319 /config/karma.config.js
parentfa8478c2dd865e3e84f55440c7b104284b09aa1f (diff)
downloadgitlab-ce-5a0e6f9a8ffbb2ba05a11179d734b07bc854d155.tar.gz
disable nodeEnv within karma configfix-webpack-node-envfix-foo-test
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 28a688797d9..84810332dc2 100644
--- a/config/karma.config.js
+++ b/config/karma.config.js
@@ -15,6 +15,7 @@ function fatalError(message) {
// disable problematic options
webpackConfig.entry = undefined;
webpackConfig.mode = 'development';
+webpackConfig.optimization.nodeEnv = false;
webpackConfig.optimization.runtimeChunk = false;
webpackConfig.optimization.splitChunks = false;