bypass self.__WB_MANIFEST check
This commit is contained in:
parent
d0314ab73c
commit
afd8acd69d
|
@ -5,8 +5,8 @@ import { NetworkOnly } from 'workbox-strategies'
|
|||
import manifest from './precache-manifest.json'
|
||||
|
||||
// ignore precache manifest generated by InjectManifest
|
||||
// self.__WB_MANIFEST
|
||||
|
||||
// they statically check for the presence of this variable
|
||||
console.log(self.__WB_MANIFEST)
|
||||
precacheAndRoute(manifest)
|
||||
|
||||
self.addEventListener('install', () => {
|
||||
|
|
Loading…
Reference in New Issue