From 4721fa0635c75ba813704c793577f25e04b0aa85 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Mon, 20 Apr 2026 11:38:56 +0300 Subject: [PATCH] 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. --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 1b3ff7562..51ded2ab4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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' },