From fd74e46434c1b9daa44e8a5de91b811982e0faf5 Mon Sep 17 00:00:00 2001 From: Tao Hansen <53713149+taohansens@users.noreply.github.com> Date: Tue, 1 Apr 2025 10:55:56 -0300 Subject: [PATCH] fix: allow build size gt>2mb --- excalidraw-app/vite.config.mts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/excalidraw-app/vite.config.mts b/excalidraw-app/vite.config.mts index f10e742f5..056528d7a 100644 --- a/excalidraw-app/vite.config.mts +++ b/excalidraw-app/vite.config.mts @@ -128,6 +128,8 @@ export default defineConfig(({ mode }) => { }, workbox: { + // allow size build +2MB (default) + maximumFileSizeToCacheInBytes: 5000000, // don't precache fonts, locales and separate chunks globIgnores: [ "fonts.css",