Skip to content

Commit

Permalink
Merged in CHOUETTE-3246-webpack-runtime-is-include (pull request #1535)
Browse files Browse the repository at this point in the history
CHOUETTE-3246 Fix double inclusion of webpack runtime

Approved-by: Luc Donnet
  • Loading branch information
Guillaume Perot authored and Luc Donnet committed Nov 30, 2023
2 parents a2a6844 + 01c3f85 commit 4b613c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ html lang=I18n.locale

// Webpack bundle
= favicon_pack_tag 'static/favicon.ico'
= javascript_pack_tag 'application'
- additional_packs = (yield :additional_packs).split.to_set.to_a
= javascript_pack_tag *(additional_packs), defer: true
= javascript_pack_tag 'application', *additional_packs, defer: true
= stylesheet_pack_tag 'application'

// Sprockets bundle
Expand Down
3 changes: 1 addition & 2 deletions app/views/layouts/devise.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ html lang=I18n.locale

// Webpack bundle
= favicon_pack_tag 'static/favicon.ico'
= javascript_pack_tag 'application'
- additional_packs = (yield :additional_packs).split.to_set.to_a
= javascript_pack_tag *(additional_packs), defer: true
= javascript_pack_tag 'application', *additional_packs, defer: true
= stylesheet_pack_tag 'application'

// Sprockets bundle
Expand Down

0 comments on commit 4b613c3

Please sign in to comment.