Skip to content

Commit

Permalink
Add type=module to test-dependencies.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS authored and andysellick committed Aug 15, 2024
1 parent 1e07985 commit 4bd7771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<html>
<head>
<title><%= yield :title %> - <%= t('application.title.suffix')%></title>
<%= javascript_include_tag "test-dependencies" if Rails.env.test? %>
<%= javascript_include_tag "test-dependencies", type: "module" if Rails.env.test? %>
<%= javascript_include_tag "application", type: "module" %>
<%= javascript_include_tag 'es6-components', type: "module" %>
<%= csrf_meta_tags %>
Expand Down

0 comments on commit 4bd7771

Please sign in to comment.