Update maximum file size for caching in service worker to 6MB
This commit is contained in:
parent
bcd32a8616
commit
8f93cc5e62
3 changed files with 353 additions and 318 deletions
|
@ -61,6 +61,7 @@ export default defineConfig({
|
|||
workbox: {
|
||||
skipWaiting: true, // Force the waiting service worker to become the active service worker
|
||||
clientsClaim: true, // Take control of uncontrolled clients as soon as the service worker becomes active
|
||||
maximumFileSizeToCacheInBytes: 6000000, // 6MB
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue