next.js
b31b0ee0 - Add list of aliased `lucide-react` icons to the transform rules (#53483)

Commit
2 years ago
Add list of aliased `lucide-react` icons to the transform rules (#53483) `lucide-react` follows the naming rule of `LucideName`, `NameIcon` and `Name` being exported from `/icons/{{ kebabCase Name }}`, but it has some special aliases such as `Stars` exported from `/icons/sparkles`. For now we have to add these rules manually. Fixes https://github.com/vercel/next.js/pull/53051#issuecomment-1656211058. In the future we'll still need an automatic way to do this. The list was created from https://unpkg.com/lucide-react@0.263.1/dist/esm/lucide-react.mjs.
Author
Parents
Loading