Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index d82c2b70c3e..08b70bae471 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -22,7 +22,8 @@ const NO_SOURCEMAPS = process.env.NO_SOURCEMAPS;
const VUE_VERSION = require('vue/package.json').version;
const VUE_LOADER_VERSION = require('vue-loader/package.json').version;
-const devtool = process.env.WEBPACK_DEVTOOL || IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map';
+const devtool =
+ process.env.WEBPACK_DEVTOOL || (IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map');
let autoEntriesCount = 0;
let watchAutoEntries = [];