You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v4.15.10
Node v20.17.0
System Windows (x64)
Package Manager npm
Output static
Adapter none
Integrations @astrojs/starlight
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
So it seems even though I added the icon integration and the library install the required packages in its dependencies it still claim to not be able to find the icon set
Greetings found the issue so it looks like you just need to mention (not even install) "@iconify-json/mdi": "^1.1.68", "@iconify/json": "^2.2.239", in the package.json of the consumer not the library, this is a terrible way of doing things I believe the library should look up node_modules and not at all reference the consumer package.json if its indeed looking for the iconset
What version of
astro-icon
are you using?v1.1.1
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
So it seems even though I added the icon integration and the library install the required packages in its dependencies it still claim to not be able to find the icon set
What's the expected result?
find the icon set and the side bar shows nothing but a chevron as intended
The miminal repo is here https://github.com/windmillcode0/astro-icon-in-astro-lib-issue
because it would be rather hard to install a library in stackblitz via npm link
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-vtd3jq?file=issue-lib%2Foverrides%2FSidebar.astro
The text was updated successfully, but these errors were encountered: