importing "solid-icons/lib" using vite (import { CustomIcon } from 'solid-icons/lib';) yields [vite] Internal server error: Missing "./lib" specifier in "solid-icons" package.
An export may be missing on the lib package.
Edit:
It appears that import { CustomIcon } from 'solid-icons'; does work, it will be greatly appreciated a change in the README Custom Icon example to avoid confusion. 😄 👍🏼
Issue Description
importing "solid-icons/lib" using vite (
import { CustomIcon } from 'solid-icons/lib';
) yields[vite] Internal server error: Missing "./lib" specifier in "solid-icons" package
.An export may be missing on the lib package.
Edit:
It appears that
import { CustomIcon } from 'solid-icons';
does work, it will be greatly appreciated a change in the README Custom Icon example to avoid confusion. 😄 👍🏼package.json
Reproduction Link
https://stackblitz.com/edit/github-3drhwq-q9vwbm?file=src%2FApp.tsx