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:
Danila Poyarkov 2026-04-20 11:38:56 +03:00
parent c38223a700
commit 4721fa0635

View file

@ -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'
},