diff --git a/hassio/src/entrypoint.js.template b/hassio/src/entrypoint.js.template index 8cc7ba82fd..db0cf25251 100644 --- a/hassio/src/entrypoint.js.template +++ b/hassio/src/entrypoint.js.template @@ -13,10 +13,11 @@ <% for (const entry of es5EntryJS) { %> loadES5("<%= entry %>"); <% } %> + } } else { <% for (const entry of es5EntryJS) { %> loadES5("<%= entry %>"); <% } %> } - } })(); + \ No newline at end of file