From 06f15d66f7b1bca8c299ef17b5101435a5923336 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 2 Jan 2025 15:47:35 +0800 Subject: [PATCH] fix: bundle --- packages/compat/build.config.ts | 1 + vitest.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/compat/build.config.ts b/packages/compat/build.config.ts index 8d091fd64..a0bbfd948 100644 --- a/packages/compat/build.config.ts +++ b/packages/compat/build.config.ts @@ -16,5 +16,6 @@ export default defineBuildConfig({ externals: [ 'hast', 'shiki', + /^@shikijs[\\/].*/, ], }) diff --git a/vitest.config.ts b/vitest.config.ts index 264a606cc..6ee7b8f1f 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -12,6 +12,7 @@ export default defineConfig({ exclude: [ '**/vendor/**', '**/node_modules/**', + '**/tm-grammars-themes/**', ], server: { deps: {