From bde5a474cc3fc6bd9e2539fc6a9a26faa296b253 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 10 May 2026 08:18:32 -0700 Subject: [PATCH] Fix production OXC bundle output --- apps/yaak-client/vite.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/yaak-client/vite.config.ts b/apps/yaak-client/vite.config.ts index 97e736ef..00756360 100644 --- a/apps/yaak-client/vite.config.ts +++ b/apps/yaak-client/vite.config.ts @@ -48,9 +48,9 @@ export default defineConfig(async () => { chunkFileNames: "assets/chunk-[name]-[hash].js", entryFileNames: "assets/entry-[name]-[hash].js", assetFileNames: "assets/asset-[name]-[hash][extname]", - // Vite-Plus/Rolldown 0.1.20 can emit a stale minified export for style-mod, - // which breaks CodeMirror MergeView in production builds. - minifyInternalExports: false, + // Vite-Plus/Rolldown 0.1.20 can emit a stale style-mod export when + // top-level var rewriting combines with OXC minification. + topLevelVar: false, }, }, },