ensure merge-request-widget utilizes common_vue bundle
This commit is contained in:
parent
84199f1919
commit
d5bc8ae92f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue