chore: enhance PWA cache invalidation logic
This commit is contained in:
@@ -12,6 +12,11 @@ export default defineConfig({
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
injectRegister: 'auto',
|
||||
workbox: {
|
||||
cleanupOutdatedCaches: true,
|
||||
skipWaiting: true,
|
||||
clientsClaim: true,
|
||||
},
|
||||
devOptions: {
|
||||
enabled: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user