feat: disable workbox output

This commit is contained in:
Phan An 2021-01-03 12:00:33 +01:00
parent e31860bb75
commit 852df591a0

View file

@ -1,5 +1,7 @@
importScripts('https://storage.googleapis.com/workbox-cdn/releases/4.0.0/workbox-sw.js')
workbox.setConfig({ debug: false })
workbox.routing.registerRoute(
new RegExp('.*\.js'),
new workbox.strategies.NetworkFirst()