Skip to content

Commit b59e487

Browse files
committedSep 1, 2024··
fix(core): createdBundledHighlighter allow user to override engine
1 parent 513224f commit b59e487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core/src/constructors/bundle-factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ export function createdBundledHighlighter<BundledLangs extends string, BundledTh
100100
.map(i => resolveLang(i as BundledLangs))
101101

102102
const core = await createHighlighterCore({
103+
engine: engine(),
103104
...options,
104105
themes: _themes,
105106
langs,
106-
engine: engine(),
107107
})
108108

109109
return {

0 commit comments

Comments
 (0)
Please sign in to comment.