ensure merge-request-widget utilizes common_vue bundle

This commit is contained in:
Mike Greiling 2017-05-10 15:40:48 -05:00
parent 84199f1919
commit d5bc8ae92f
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,8 @@
#js-vue-mr-widget.mr-widget
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('vue_merge_request_widget')
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'vue_merge_request_widget'
.content-block.content-block-small.emoji-list-container
= render 'award_emoji/awards_block', awardable: @merge_request, inline: true

View file

@ -151,6 +151,7 @@ var config = {
'schedule_form',
'schedules_index',
'sidebar',
'vue_merge_request_widget',
],
minChunks: function(module, count) {
return module.resource && (/vue_shared/).test(module.resource);