From 82127e5526a2a01ea23992f9049bf20bfdbcc30a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 24 May 2020 15:02:42 -0700 Subject: [PATCH] Split out HTML imports from entrypoint --- src/entrypoints/app.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/entrypoints/app.ts b/src/entrypoints/app.ts index 9be05793acfa..1e31a4fc5b77 100644 --- a/src/entrypoints/app.ts +++ b/src/entrypoints/app.ts @@ -1,9 +1,6 @@ -// Load polyfill first so HTML imports start resolving -/* eslint-disable import/first */ import "@polymer/paper-styles/typography"; import { setPassiveTouchGestures } from "@polymer/polymer/lib/utils/settings"; import "../layouts/home-assistant"; -import "../resources/html-import/polyfill"; import "../resources/roboto"; import "../util/legacy-support"; @@ -12,3 +9,5 @@ setPassiveTouchGestures(true); document.createElement = Document.prototype.createElement; (window as any).frontendVersion = __VERSION__; + +import("../resources/html-import/polyfill");