1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-02 22:52:56 +01:00

Remove rollup build configuration (#22181)

Rollup remove
This commit is contained in:
Simon Lamon
2024-11-08 09:19:52 +01:00
committed by GitHub
parent f396be2ed7
commit ee79c3a983
28 changed files with 172 additions and 998 deletions

View File

@@ -9,16 +9,8 @@
<script>
(function() {
if (!window.latestJS) {
<% if (useRollup) { %>
_ls("/static/js/s.min.js").onload = function() {
<% for (const entry of es5EntryJS) { %>
System.import("<%= entry %>");
<% } %>
}
<% } else { %>
<% for (const entry of es5EntryJS) { %>
_ls("<%= entry %>", true);
<% } %>
<% for (const entry of es5EntryJS) { %>
_ls("<%= entry %>", true);
<% } %>
}
})();

View File

@@ -97,16 +97,8 @@
<script>
if (!window.latestJS) {
window.customPanelJS = "<%= es5CustomPanelJS %>";
<% if (useRollup) { %>
_ls("/static/js/s.min.js").onload = function() {
<% for (const entry of es5EntryJS) { %>
System.import("<%= entry %>");
<% } %>
}
<% } else { %>
<% for (const entry of es5EntryJS) { %>
_ls("<%= entry %>", true);
<% } %>
<% for (const entry of es5EntryJS) { %>
_ls("<%= entry %>", true);
<% } %>
}
</script>