Skip to content

Commit

Permalink
Revert "try without defering"
Browse files Browse the repository at this point in the history
This reverts commit 64691a2.
  • Loading branch information
thecristen committed Nov 21, 2024
1 parent 64691a2 commit 9046fd6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/dotcom_web/templates/layout/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
<%= if Application.get_env(:dotcom, :dev_server?) do %>
<link rel="stylesheet" href={"#{Application.get_env(:dotcom, :webpack_path)}/css/core.css"} />
<link rel="stylesheet" href={"#{Application.get_env(:dotcom, :webpack_path)}/css/app.css"} />
<script src={"#{Application.get_env(:dotcom, :webpack_path)}/core.js"}>
<script defer src={"#{Application.get_env(:dotcom, :webpack_path)}/core.js"}>
</script>
<script src={"#{Application.get_env(:dotcom, :webpack_path)}/app.js"}>
<script defer src={"#{Application.get_env(:dotcom, :webpack_path)}/app.js"}>
</script>
<% else %>
<link
Expand All @@ -88,13 +88,15 @@
crossorigin="anonymous"
/>
<script
defer
type="text/javascript"
src={static_url(@conn, "/js/vendors.js")}
integrity={static_integrity(@conn, "/js/vendors.js")}
crossorigin="anonymous"
>
</script>
<script
defer
type="text/javascript"
src={static_url(@conn, "/js/app.js")}
integrity={static_integrity(@conn, "/js/app.js")}
Expand Down

0 comments on commit 9046fd6

Please sign in to comment.