From a7e3602908fb285b884a62eab94b996cca093727 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 23 Sep 2021 10:16:49 +0200 Subject: [PATCH] web: fix import order of polyfills causing shadydom to not work on firefox and safari Signed-off-by: Jens Langhammer --- web/.prettierignore | 2 ++ web/poly.ts | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/.prettierignore b/web/.prettierignore index 8310f82be..eb60f42e2 100644 --- a/web/.prettierignore +++ b/web/.prettierignore @@ -6,3 +6,5 @@ dist coverage # don't lint generated code api/ +# Import order matters +poly.ts diff --git a/web/poly.ts b/web/poly.ts index d66643fcd..43009f976 100644 --- a/web/poly.ts +++ b/web/poly.ts @@ -1,7 +1,5 @@ -import "@webcomponents/webcomponentsjs"; -import "construct-style-sheets-polyfill"; - -import "lit/polyfill-support"; - // @ts-ignore window["polymerSkipLoadingFontRoboto"] = true; +import "construct-style-sheets-polyfill"; +import "@webcomponents/webcomponentsjs"; +import "lit/polyfill-support";