Skip to content

Commit

Permalink
Add type=module to javascript_include_tag references
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Aug 15, 2024
1 parent 6a9c702 commit 2932d6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<% # Used for Google Analytics 4 debugging. Must be placed before load-analytics script. %>
<meta name="govuk:components_gem_version" content="<%= GovukPublishingComponents::VERSION %>" />
<%= javascript_include_tag "govuk_publishing_components/load-analytics" %>
<%= javascript_include_tag "govuk_publishing_components/load-analytics", type: "module" %>
<%= csrf_meta_tags %>
Expand Down Expand Up @@ -185,7 +185,7 @@
meta: layout_helper.footer_meta,
} %>
<% end %>
<%= javascript_include_tag 'application' %>
<%= javascript_include_tag 'application', type: "module" %>
<% if GovukPublishingComponents::Config.use_es6_components %>
<%= javascript_include_tag 'es6-components', type: "module" %>
<% end %>
Expand Down

0 comments on commit 2932d6e

Please sign in to comment.