perf(webui): avoid redundant diff bundle assets (#6711)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-19 00:10:38 +08:00
1 parent 995f9e36c1
commit d7e30b403e
4 files changed
+72 -14

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ async function loadFixture() {
}
case "file-diff": {
const { FileDiffFixture } = await import("./file-diff-fixture");
return <FileDiffFixture />;
return <FileDiffFixture shiki={parameters.has("shiki")} />;
}
case "file-edit-path": {
const { FileEditPathFixture } = await import("./file-edit-path-fixture");