Update client dependencies
This commit is contained in:
parent
1794e2680a
commit
508a41ee45
26 changed files with 4998 additions and 5245 deletions
|
@ -1,6 +1,13 @@
|
|||
workbox.core.skipWaiting();
|
||||
workbox.core.clientsClaim();
|
||||
import { skipWaiting, clientsClaim } from 'workbox-core';
|
||||
import { precacheAndRoute, createHandlerBoundToURL } from 'workbox-precaching';
|
||||
import { NavigationRoute, registerRoute } from 'workbox-routing';
|
||||
|
||||
workbox.precaching.precacheAndRoute(self.__precacheManifest, {
|
||||
skipWaiting();
|
||||
clientsClaim();
|
||||
|
||||
precacheAndRoute(self.__WB_MANIFEST, {
|
||||
ignoreUrlParametersMatching: [/.*/]
|
||||
});
|
||||
|
||||
const handler = createHandlerBoundToURL('/');
|
||||
registerRoute(new NavigationRoute(handler));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue