chore: preemptly update pwa settings to avoid missing files in the service worker cache (#4344)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Akash K
2024-09-19 19:09:14 +05:30
committed by GitHub
parent 5a06e52389
commit 626b5fea7f
3 changed files with 132 additions and 33 deletions

View File

@@ -208,7 +208,7 @@ export default defineConfig({
registerType: "prompt",
workbox: {
cleanupOutdatedCaches: true,
maximumFileSizeToCacheInBytes: 4194304,
maximumFileSizeToCacheInBytes: 10485760,
navigateFallbackDenylist: [
/robots.txt/,
/sitemap.xml/,