cmd: updated prettier config and reformatted content
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-02-10 23:53:17 +01:00
parent f85991c409
commit 419b0c6ab5
20 changed files with 228 additions and 292 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ const { name } = Astro.props
const icons = Object.fromEntries(
Object.entries(
import.meta.glob<{ default: ImageMetadata }>(`node_modules/@phosphor-icons/core/assets/light/*.svg`)
).map(([path, module]) => [path.split('/').pop()!.split('.')[0].replace('-light', ''), module])
import.meta.glob<{ default: ImageMetadata }>(`node_modules/@phosphor-icons/core/assets/light/*.svg`),
).map(([path, module]) => [path.split('/').pop()!.split('.')[0].replace('-light', ''), module]),
)
if (!icons[name]) {