Please note that active projects have migrated to https://github.com/fawkesrobotics.

webview-frontend: update service worker config for A6
authorTim Niemueller <niemueller@kbsg.rwth-aachen.de>
Wed, 30 May 2018 07:41:18 +0000 (09:41 +0200)
committerTim Niemueller <niemueller@kbsg.rwth-aachen.de>
Wed, 30 May 2018 07:41:18 +0000 (09:41 +0200)
Angular 6 made some modifications to the servie worker configuration.
Update ours to eliminate a warning.

src/plugins/webview/frontend/ngsw-config.json

index 554f03d..62c8f2c 100644 (file)
@@ -6,9 +6,7 @@
     "resources": {
       "files": [
         "/favicon.ico",
-        "/index.html"
-      ],
-      "versionedFiles": [
+        "/index.html",
         "/*.bundle.css",
         "/*.bundle.js",
         "/*.chunk.js"
@@ -28,7 +26,7 @@
     "installMode": "lazy",
     "updateMode": "prefetch",
     "resources": {
-      "versionedFiles": [
+      "files": [
         "/*.woff2"
       ]
     }