mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-16 20:57:12 +02:00
Fix production OXC bundle output
This commit is contained in:
@@ -48,9 +48,9 @@ export default defineConfig(async () => {
|
|||||||
chunkFileNames: "assets/chunk-[name]-[hash].js",
|
chunkFileNames: "assets/chunk-[name]-[hash].js",
|
||||||
entryFileNames: "assets/entry-[name]-[hash].js",
|
entryFileNames: "assets/entry-[name]-[hash].js",
|
||||||
assetFileNames: "assets/asset-[name]-[hash][extname]",
|
assetFileNames: "assets/asset-[name]-[hash][extname]",
|
||||||
// Vite-Plus/Rolldown 0.1.20 can emit a stale minified export for style-mod,
|
// Vite-Plus/Rolldown 0.1.20 can emit a stale style-mod export when
|
||||||
// which breaks CodeMirror MergeView in production builds.
|
// top-level var rewriting combines with OXC minification.
|
||||||
minifyInternalExports: false,
|
topLevelVar: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user