chore: disable workbox logs (#1629)
This commit is contained in:
1 parent
b445c8d5b8
commit
6481c6fa25
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user