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: {