From 921d1a8e62ca21e285c8569bf2e89d2b61983514 Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Fri, 11 Oct 2024 13:54:33 +0800 Subject: [PATCH] fix: add shiki to transpile Signed-off-by: ZTL-UwU --- bun.lockb | Bin 554047 -> 554047 bytes nuxt.config.ts | 3 +++ package.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bun.lockb b/bun.lockb index a9c9fe96bcc8f69189204d0b6637c8cc84c10ed8..137eaeb08a668d47b9d47e1bbb57c23c924948c9 100755 GIT binary patch delta 170 zcmV;b09F6L=pn!8A&@R0Q2bzokj>*zCOvongIh_QlY+5B$j;pTUULAz*ROLBfljqf z0lGhz$SDCZhd4k1w>UroE%!j~UwsK@Kb4{Bg)1m7DIxdKr8fhIr8fk(r8fokNC7stoPY&0 Y$pJZs&`Acj&`Ad$tpPT-@b(8!eUf8QY5)KL delta 169 zcmV;a09OCM=pn!8A&@R0#kyY`a0uyn-KI@cJJv&ua|@yS>n*o4;4f2j+}{8Ifljqf z0lGhvNSH8(I6winI6wj|_drz6f$8Dr)O9J(qR_XopAUXDtGXALQFAkk_CSSAyh=)E z2rJq8j!GK0xIrn+E(MP)a#C7;h%CWnHU-CP7pRA&Hv@;IHw3q(HwE@c0X4UrfCV$j X0XT=yNd~vjNe3UT0X4Vq_6JXW_L@r{ diff --git a/nuxt.config.ts b/nuxt.config.ts index 2e7f1b7d..7f5f6b07 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -59,5 +59,8 @@ export default defineNuxtConfig({ }, }, }, + build: { + transpile: ['shiki'], + }, compatibilityDate: '2024-07-05', }); diff --git a/package.json b/package.json index d456f2b3..e3e8cdfa 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "dependencies": { "@iconify-json/lucide": "^1.2.8", "@nuxt/content": "^2.13.2", - "@nuxt/icon": "^1.5.5", + "@nuxt/icon": "^1.5.6", "@nuxt/image": "^1.8.1", "@nuxtjs/color-mode": "^3.5.1", "@nuxtjs/tailwindcss": "^6.12.1",