fix: Remove internet dependency for workbox (addressing #2109) (#2151)

* Ignoring *.js.map files as generated in the extensions directories for example

* Fix for #2109. Removed internet dependency to google workbox
This commit is contained in:
matthiasg authored and GitHub committed 2021-08-19 15:00:20 +02:00
1 parent eea610dfe8
commit 5f92f6ec7f
65 files changed
+11075 -1

No files matched your search

+17
View File
@@ -1,7 +1,24 @@
// https://developers.google.com/web/tools/workbox/guides/troubleshoot-and-debug
//
// Uncomment the 'Embedded version' and use the 'Internet version' if
// the internet version is preferred. Make sure to use the correct
// version though.
//
// Embedded version
importScripts('/third_party/workbox/workbox-v5.1.4/workbox-sw.js');
workbox.setConfig({
modulePathPrefix: '/third_party/workbox/workbox-v5.1.4/',
});
// Internet version
/*
importScripts(
'https://storage.googleapis.com/workbox-cdn/releases/5.0.0-beta.1/workbox-sw.js'
);
*/
// Install newest
// https://developers.google.com/web/tools/workbox/modules/workbox-core