Skip to content

Commit 2808dd6

Browse files
authored
externalize shiki (#1216)
1 parent 8cc247c commit 2808dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default defineConfig({
2727
if (deps.includes(source)) {
2828
return true;
2929
}
30-
return source.startsWith("prosemirror-");
30+
return source.startsWith("prosemirror-") || source.startsWith("shiki/");
3131
},
3232
output: {
3333
// Provide global variables to use in the UMD build

0 commit comments

Comments
 (0)