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
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-15 17:48:46 +0300
committerMike Greiling <mike@pixelcog.com>2017-02-15 17:48:46 +0300
commit23e6cd6f1d9a6379491ba80b90e6003ff0480260 (patch)
tree614e88ee78fca6d5e1960b714ff2df36b7d0ecc5 /config
parent35b31ba84fd4ea37debfaf50a5ab98a417f2158a (diff)
only load istanbul plugin in development mode
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 5d5e4bb570a..7782fe393ea 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -54,7 +54,7 @@ var config = {
exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader',
options: {
- plugins: ['istanbul'],
+ plugins: IS_PRODUCTION ? [] : ['istanbul'],
presets: [
["es2015", {"modules": false}],
'stage-2'