im actually stupid
This commit is contained in:
parent
c4fc44e5d2
commit
129e1c53e1
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ import { DefaultExtractAndLoadChunksRegex, extractAndLoadChunks, findByPropsLazy
|
|||
export const cl = classNameFactory("vc-shiki-");
|
||||
|
||||
export const hljs: typeof import("highlight.js").default = proxyLazyWebpack(() => {
|
||||
extractAndLoadChunks(["codeBlock:{react("], new RegExp(`*hljs*.+?${DefaultExtractAndLoadChunksRegex.source}`));
|
||||
extractAndLoadChunks(["codeBlock:{react("], new RegExp(`"hljs".+?${DefaultExtractAndLoadChunksRegex.source}`));
|
||||
return findByPropsLazy("highlight", "registerLanguage");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue