fix(build): bump PWA precache limit for canvaskit-webgpu
The WebGPU canvaskit.wasm grew to 9.7 MB, exceeding the previous 8 MB workbox precache limit. Bump to 12 MB.
This commit is contained in:
parent
c38223a700
commit
4721fa0635
|
|
@ -71,7 +71,7 @@ export default defineConfig(async ({ command }) => ({
|
|||
registerType: 'autoUpdate',
|
||||
devOptions: { enabled: false },
|
||||
workbox: {
|
||||
maximumFileSizeToCacheInBytes: 8 * 1024 * 1024,
|
||||
maximumFileSizeToCacheInBytes: 12 * 1024 * 1024,
|
||||
globPatterns: ['**/*.{js,css,html,wasm,png,ico,ttf,webmanifest}'],
|
||||
navigateFallback: '/index.html'
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue