1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-19 00:12:51 +01:00

Integrate compatibility into other entrypoints (#6029)

This commit is contained in:
Paulus Schoutsen
2020-05-25 10:36:22 -07:00
committed by GitHub
parent d73b3d77ea
commit 050cdf3783
13 changed files with 16 additions and 55 deletions

View File

@@ -61,12 +61,9 @@
_ls("/static/polyfills/custom-elements-es5-adapter.js");
<% if (useRollup) { %>
_ls("/static/js/s.min.js").onload = function() {
System.import("<%= es5Compatibility %>").then(function() {
System.import("<%= es5PageJS %>");
});
System.import("<%= es5PageJS %>");
}
<% } else { %>
_ls("<%= es5Compatibility %>");
_ls("<%= es5PageJS %>");
<% } %>
}