diff --git a/src/html/index.html.template b/src/html/index.html.template
index f3924d440e..de55383946 100644
--- a/src/html/index.html.template
+++ b/src/html/index.html.template
@@ -65,6 +65,10 @@
import "<%= latestHassIconsJS %>";
window.customPanelJS = "<%= latestCustomPanelJS %>";
+ {% for extra_module in extra_modules -%}
+
+ {% endfor -%}
+