web: fix import order of polyfills causing shadydom to not work on firefox and safari

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-23 10:16:49 +02:00
parent 74169860cf
commit a7e3602908
2 changed files with 5 additions and 5 deletions

View File

@ -6,3 +6,5 @@ dist
coverage
# don't lint generated code
api/
# Import order matters
poly.ts

View File

@ -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";