From a53f92f9b6be1d91ed4718ab8793f0cd6dd52d2b Mon Sep 17 00:00:00 2001 From: yousefed Date: Tue, 5 Nov 2024 19:57:51 +0100 Subject: [PATCH] externalize shiki --- packages/core/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/vite.config.ts b/packages/core/vite.config.ts index 682434111..380b3a0ab 100644 --- a/packages/core/vite.config.ts +++ b/packages/core/vite.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ if (deps.includes(source)) { return true; } - return source.startsWith("prosemirror-"); + return source.startsWith("prosemirror-") || source.startsWith("shiki/"); }, output: { // Provide global variables to use in the UMD build