From d54022a65acd1349a5ff35936e5aee622ff089b8 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 29 Jan 2025 15:19:49 +0100 Subject: [PATCH] fix: build error -> workbox max file size limit --- website/astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index bf32c7a0..63158422 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -67,6 +67,7 @@ export default defineConfig({ registerType: 'autoUpdate', injectRegister: 'auto', workbox: { + maximumFileSizeToCacheInBytes: 4194304, // 4MB globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg,ttf,woff2,TTF,otf}'], runtimeCaching: [ {