diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-18 09:36:00 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-19 23:04:50 -0600 |
commit | ae89a890555de905505d1dcfd0ec593a40ddb26e (patch) | |
tree | d6522ac0aec4f922cb83d0fb45d1ca43a4f89e66 /config/webpack.config.js | |
parent | 6eb45df2fd62c85920c3ef025d7dacadcda05bf4 (diff) | |
download | gitlab-ce-ae89a890555de905505d1dcfd0ec593a40ddb26e.tar.gz |
utilize pre-minified Vue in production since no CJS distribution is availablefix-vue-production-build
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 3 |
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', } } } |