Skip to content

Commit

Permalink
Split out HTML imports from entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed May 24, 2020
1 parent 38d3b8d commit 82127e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/entrypoints/app.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand All @@ -12,3 +9,5 @@ setPassiveTouchGestures(true);
document.createElement = Document.prototype.createElement;

(window as any).frontendVersion = __VERSION__;

import("../resources/html-import/polyfill");

0 comments on commit 82127e5

Please sign in to comment.