bypass self.__WB_MANIFEST check

This commit is contained in:
keyan 2023-07-21 18:46:34 -05:00
parent d0314ab73c
commit afd8acd69d
1 changed files with 2 additions and 2 deletions

View File

@ -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', () => {