From a3ec5e32cdf3aef5c34f985e6449a3afcf20ce8f Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 2 Oct 2026 09:32:04 +0100 Subject: [PATCH] Enable full minification for the web library bundle --- platforms/web/vite.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platforms/web/vite.config.ts b/platforms/web/vite.config.ts index 4b4a9c65f..b42c05eb5 100644 --- a/platforms/web/vite.config.ts +++ b/platforms/web/vite.config.ts @@ -39,6 +39,13 @@ export default defineConfig({ rollupOptions: { // Zero runtime deps — bundle everything reachable from src/index.ts. external: [], + output: { + minify: { + compress: true, + mangle: true, + codegen: true, + }, + }, }, }, test: {