From e1621b47a24e9916de31418095197001a7e61ebf Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Tue, 18 Feb 2025 22:48:29 +0800 Subject: [PATCH 1/2] perf: only bundle needed shiki langs and themes Signed-off-by: ZTL-UwU --- client/components/OCodeBlock.vue | 3 +-- client/composables/shiki.ts | 22 ++++++++++++---------- pnpm-lock.yaml | 13 +++++++++++-- pnpm-workspace.yaml | 2 +- 4 files changed, 25 insertions(+), 15 deletions(-) diff --git a/client/components/OCodeBlock.vue b/client/components/OCodeBlock.vue index f715fd30..87dce655 100644 --- a/client/components/OCodeBlock.vue +++ b/client/components/OCodeBlock.vue @@ -1,12 +1,11 @@