From 0afbec8a164faeb4781f8bf01761156ab2ae3b01 Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Wed, 19 Feb 2025 12:45:45 +0800 Subject: [PATCH] perf: only bundle needed shiki langs and themes Signed-off-by: ZTL-UwU --- client/components/OCodeBlock.vue | 3 +-- client/composables/shiki.ts | 36 +++++++++++++------------------- package.json | 2 +- 3 files changed, 17 insertions(+), 24 deletions(-) diff --git a/client/components/OCodeBlock.vue b/client/components/OCodeBlock.vue index 687bc718..e0686919 100644 --- a/client/components/OCodeBlock.vue +++ b/client/components/OCodeBlock.vue @@ -1,12 +1,11 @@