From f6c54994920fdf3a4f9a2f8a83f3fcc2e64d590a Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 6 Aug 2019 16:04:38 +0200
Subject: [PATCH] Remove webcomponents-loader

---
 packages/notification/assets/index.html | 1 -
 packages/notification/package.json      | 1 -
 packages/notification/rollup.config.js  | 4 +---
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/packages/notification/assets/index.html b/packages/notification/assets/index.html
index f49760b2..9c6e2568 100644
--- a/packages/notification/assets/index.html
+++ b/packages/notification/assets/index.html
@@ -2,7 +2,6 @@
 <html>
 <head>
     <meta charset="UTF-8">
-    <script src="webcomponents-loader.js"></script>
     <script type="module" id="vpu-notification-wc-src" src="bundle.js"></script>
 </head>
 
diff --git a/packages/notification/package.json b/packages/notification/package.json
index 0df207fc..46ba0618 100644
--- a/packages/notification/package.json
+++ b/packages/notification/package.json
@@ -25,7 +25,6 @@
     "vpu-common": "file:./vendor/common"
   },
   "dependencies": {
-    "@webcomponents/webcomponentsjs": "^2.2.10",
     "i18next": "^17.0.3",
     "lit-element": "^2.1.0"
   },
diff --git a/packages/notification/rollup.config.js b/packages/notification/rollup.config.js
index d133faf4..3c158bf9 100644
--- a/packages/notification/rollup.config.js
+++ b/packages/notification/rollup.config.js
@@ -34,9 +34,7 @@ export default {
         copy({
             targets: [
                 'assets/index.html',
-                'assets/favicon.ico',
-                'node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js',
-                'node_modules/@webcomponents/webcomponentsjs/bundles',
+                'assets/favicon.ico'
             ],
             outputFolder: 'dist'
         }),
-- 
GitLab