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