From ef249da2e989f22749b32fabf3b71e8b5e962368 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Sat, 15 Aug 2026 01:31:37 +0800 Subject: [PATCH] perf(web): remove the module preload polyfill The preload links stay; browsers that ignore them fetch vendor when index imports it. --- apps/web/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts index 7b9ef7a15b..2289b6c13a 100644 --- a/apps/web/vite.config.ts +++ b/apps/web/vite.config.ts @@ -93,6 +93,7 @@ export default defineConfig({ plugins: [rejectStandaloneServe(), react()], build: { sourcemap: true, + modulePreload: { polyfill: false }, rollupOptions: { output: { // Output layout: the two main chunks stay at assets/ root; lazy