diff --git a/packages/nx-shopify/src/webpack/configs/templates/script-tags.html b/packages/nx-shopify/src/webpack/configs/templates/script-tags.html
index acdf7a1..6ed6ab1 100644
--- a/packages/nx-shopify/src/webpack/configs/templates/script-tags.html
+++ b/packages/nx-shopify/src/webpack/configs/templates/script-tags.html
@@ -32,9 +32,9 @@
<% }); %>
{%- if <%= conditions.join(' or ') %> -%}
-
+
{%- else -%}
-
+
{%- endif -%}
<% } else if (typeof htmlWebpackPlugin.options.liquidTemplates[templateFull] !== 'undefined') { %>
diff --git a/packages/nx-shopify/src/webpack/configs/templates/style-tags.html b/packages/nx-shopify/src/webpack/configs/templates/style-tags.html
index 5d877eb..b251941 100644
--- a/packages/nx-shopify/src/webpack/configs/templates/style-tags.html
+++ b/packages/nx-shopify/src/webpack/configs/templates/style-tags.html
@@ -44,9 +44,9 @@
<% } %>
<% }); %>
{%- if <%= conditions.join(' or ') %> -%}
-
+
{%- else -%}
-
+
{%- endif -%}
<% } else { %>