Skip to content

Commit 826d6d6

Browse files
committed
Ignore legacy manifest and service worker
1 parent 212d5fb commit 826d6d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pwa.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export const config = defineConfig({
2020
navigateFallbackDenylist: [
2121
// Ignore Cypress routes.
2222
new RegExp('^/__'),
23+
// Keep this around for backward compatibility.
24+
new RegExp('^/manifest\\.json$'),
25+
// Keep this around for backward compatibility.
26+
new RegExp('^/service-worker\\.js$'),
2327
new RegExp('cypress'),
2428
],
2529
runtimeCaching: [

0 commit comments

Comments
 (0)