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-18 18:36:00 +0300
committerMike Greiling <mike@pixelcog.com>2017-02-20 08:04:50 +0300
commitae89a890555de905505d1dcfd0ec593a40ddb26e (patch)
treed6522ac0aec4f922cb83d0fb45d1ca43a4f89e66 /config
parent6eb45df2fd62c85920c3ef025d7dacadcda05bf4 (diff)
utilize pre-minified Vue in production since no CJS distribution is available
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 9bee7baceb7..9463e0a7ecb 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -90,8 +90,7 @@ var config = {
'bootstrap/js': 'bootstrap-sass/assets/javascripts/bootstrap',
'emoji-aliases$': path.join(ROOT_PATH, 'fixtures/emojis/aliases.json'),
'vendor': path.join(ROOT_PATH, 'vendor/assets/javascripts'),
- 'vue$': 'vue/dist/vue.js',
- 'vue-resource$': 'vue-resource/dist/vue-resource.js'
+ 'vue$': IS_PRODUCTION ? 'vue/dist/vue.min.js' : 'vue/dist/vue.js',
}
}
}