diff --git a/package/src/ExpressiveCode/index.ts b/package/src/ExpressiveCode/index.ts index c4316ef..8dc519a 100644 --- a/package/src/ExpressiveCode/index.ts +++ b/package/src/ExpressiveCode/index.ts @@ -27,5 +27,5 @@ if (userThemes) { } // Create a custom instance of ExpressiveCode -export const engine = new ExpressiveCode({ themes }) +export const engine = new ExpressiveCode({ themes: userThemes?.length ? themes : undefined }) diff --git a/playground/package.json b/playground/package.json index fbc3d29..78eda6d 100644 --- a/playground/package.json +++ b/playground/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.9" - "@matthiesenxyz/astro-gists": "workspace:*", + "astro": "^4.5.9", + "@matthiesenxyz/astro-gists": "workspace:*" }, "devDependencies": { "@astrojs/mdx": "^2.2.1",