mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-18 00:47:41 +01:00
chore(dependencies): Update dependencies (#3809)
* update deps * Remove ignoredBuiltDependencies * Fix build errors * try this * update config * add coma * Try this * Revert import change * try this * add wasm import * Load wasm * try this * Revert nitro version change * Revert nitro config change
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { bundledLanguages, getHighlighter, type ThemeRegistration } from 'shikiji';
|
||||
import { bundledLanguages, createHighlighter, type ThemeRegistration } from 'shiki';
|
||||
|
||||
type CodeExampleType = {
|
||||
title: string;
|
||||
@@ -112,7 +112,7 @@ export type ThemeOptions =
|
||||
| { light: ThemeRegistration; dark: ThemeRegistration };
|
||||
|
||||
const highLightCode = async (code: string, lang: string, active?: boolean) => {
|
||||
const highlighter = await getHighlighter({
|
||||
const highlighter = await createHighlighter({
|
||||
themes: ['github-light', 'github-dark'],
|
||||
langs: Object.keys(bundledLanguages),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user