From c717efa67e22814a2cf98c2f198533265e02bbe1 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 4 Aug 2026 11:12:13 -0500 Subject: [PATCH] preserve function names in production builds adds only 162kb gzipped/450k unzipped to the bundle --- web/vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/vite.config.ts b/web/vite.config.ts index cb1a580bf3..0323c36d07 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -37,6 +37,9 @@ export default defineConfig({ }, }, }, + esbuild: { + keepNames: true, + }, build: { rollupOptions: { input: {