Skip to content

Commit 6735482

Browse files
committed
fix(sw): missing assets in precache manifest
1 parent 8a89afe commit 6735482

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ export default defineConfig({
3030
],
3131
},
3232
includeAssets: ['./.well-known/assetlinks.json'],
33+
strategies: 'generateSW',
34+
workbox: {
35+
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
36+
navigateFallbackDenylist: [/^\/sw.js/],
37+
},
3338
}),
3439
],
3540
worker: {

0 commit comments

Comments
 (0)