Skip to content

Commit 37aac25

Browse files
committed
removed commented code
1 parent 79c1452 commit 37aac25

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/service-worker.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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-
71
import { createHandlerBoundToURL, precacheAndRoute } from 'workbox-precaching'
82
import { NavigationRoute, registerRoute } from 'workbox-routing'
93
import { clientsClaim } from 'workbox-core'
@@ -20,9 +14,6 @@ self.addEventListener('message', (event) => {
2014
// self.__WB_MANIFEST is default injection point
2115
precacheAndRoute(self.__WB_MANIFEST)
2216

23-
// clean old assets
24-
// cleanupOutdatedCaches()
25-
2617
// to allow work offline
2718
registerRoute(new NavigationRoute(createHandlerBoundToURL('index.html')))
2819

0 commit comments

Comments
 (0)