From 5a0e6f9a8ffbb2ba05a11179d734b07bc854d155 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Thu, 21 Jun 2018 12:36:17 -0500 Subject: [PATCH] disable nodeEnv within karma config --- config/karma.config.js | 1 + 1 file changed, 1 insertion(+) 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;