Skip to content

Commit 19a81ec

Browse files
committed
Always treat JS bundles as modules
1 parent 057a396 commit 19a81ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/layouts/print_reports.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>
66
<%= page_title %>
77
</title>
8-
<%= javascript_include_tag url_with_possible_host('/packs/application-styles.js', ENV['ASSETS_HOST']) %>
8+
<%= javascript_include_tag url_with_possible_host('/packs/application-styles.js', ENV['ASSETS_HOST'], type: 'module') %>
99
<meta content="width=device-width, initial-scale=1" name="viewport"/>
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)