If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I want to mark an icon as optional, i.e. the component should not raise an error if the icon does not exist in the iconDir directory. Currently if such an icon is referenced, the error takes over the whole page:
What's the expected result?
The component should log the error but not take down the entire site like it does currently.
What version of
astro-icon
are you using?1.1.1
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I want to mark an icon as optional, i.e. the component should not raise an error if the icon does not exist in the
iconDir
directory. Currently if such an icon is referenced, the error takes over the whole page:What's the expected result?
The component should log the error but not take down the entire site like it does currently.
Link to Minimal Reproducible Example
N/A