diff --git a/src/sw.ts b/src/sw.ts index 811433b4c..4686000d3 100644 --- a/src/sw.ts +++ b/src/sw.ts @@ -6,6 +6,8 @@ declare let self: ServiceWorkerGlobalScope import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching' import { clientsClaim } from 'workbox-core' +// disable workbox logs +self.__wb_disable_dev_logs = true cleanupOutdatedCaches() // cleanup everything that's not needed anymore precacheAndRoute(self.__WB_MANIFEST) //cache our new stuff