File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
- // import { precacheAndRoute } from 'workbox-precaching'
2
- // import { NavigationRoute, registerRoute, Route } from 'workbox-routing'
3
- // import * as navigationPreload from 'workbox-navigation-preload'
4
- // import { NetworkFirst, StaleWhileRevalidate } from 'workbox-strategies'
5
- // import { clientsClaim } from 'workbox-core'
6
-
7
1
import { createHandlerBoundToURL , precacheAndRoute } from 'workbox-precaching'
8
2
import { NavigationRoute , registerRoute } from 'workbox-routing'
9
3
import { clientsClaim } from 'workbox-core'
@@ -20,9 +14,6 @@ self.addEventListener('message', (event) => {
20
14
// self.__WB_MANIFEST is default injection point
21
15
precacheAndRoute ( self . __WB_MANIFEST )
22
16
23
- // clean old assets
24
- // cleanupOutdatedCaches()
25
-
26
17
// to allow work offline
27
18
registerRoute ( new NavigationRoute ( createHandlerBoundToURL ( 'index.html' ) ) )
28
19
You can’t perform that action at this time.
0 commit comments