-
-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
@iconify/tailwind gives "Invalid icon name: ..." every time vite runs.
example output:
Invalid icon name: "${IconifyIcon}"
Invalid icon name: "dashicons--undo"
Invalid icon name: "mdi--remove"The first one is from a helper method I created:
export type IconifyIconPrefixed = `icon-[${IconifyIcon}]`;the other two are from comments:
<!-- <span class="icon icon-[dashicons--undo] text-base"></span>-->to solve the second one I once opened a PR, which helped me figure out the warning comes from comments in which dashes are encoded by PhpStorm. Jetbrains team haven't solved this bug yet.
Metadata
Metadata
Assignees
Labels
No labels