Make import paths ES6-compatible

This commit is contained in:
MrTimscampi 2020-08-14 08:46:34 +02:00 committed by vitorsemeano
parent 1a635e2f81
commit bfb8c7c1f6
245 changed files with 2073 additions and 1995 deletions

View file

@ -1,5 +1,5 @@
import 'css!./emby-progressring';
import 'webcomponents';
import './emby-progressring';
import 'webcomponents.js';
/* eslint-disable indent */
@ -9,7 +9,7 @@ import 'webcomponents';
this.classList.add('progressring');
const instance = this;
import('text!./emby-progressring.template.html').then(({default: template}) => {
import('./emby-progressring.template.html').then(({default: template}) => {
instance.innerHTML = template;
if (window.MutationObserver) {