Skip to content

Commit

Permalink
fix(core): createdBundledHighlighter allow user to override engine
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 1, 2024
1 parent 513224f commit b59e487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/constructors/bundle-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ export function createdBundledHighlighter<BundledLangs extends string, BundledTh
.map(i => resolveLang(i as BundledLangs))

const core = await createHighlighterCore({
engine: engine(),
...options,
themes: _themes,
langs,
engine: engine(),
})

return {
Expand Down

0 comments on commit b59e487

Please sign in to comment.