Skip to content

AI-native design editor. Open-source Figma alternative.

fix(build): bump PWA precache limit for canvaskit-webgpu

Danila Poyarkov4721fa0635c7
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'
},