ionic-team / ionicons

Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
http://ionicons.com
MIT License
17.4k stars 2.06k forks source link

bug: init error ionIcons. Cannot access 'b' before initialization #1295

Closed Jodelopa closed 6 months ago

Jodelopa commented 7 months ago

Current Behavior

since ionIcon release v7.2.1 there is an init error on my release build of my vite-react project, dev build is runnnig fine.

ion

downgrade to v7.1.2 solves the error

Expected Behavior

app initializes correctly

Steps to Reproduce

create an ionic vite-react-typscript project and use an ionIcon, do a release build

Code Reproduction URL

No response

Additional Information

No response

ionitron-bot[bot] commented 7 months ago

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please reproduce this issue and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.

amandaejohnston commented 6 months ago

This issue is being closed due to lack of a reproduction. If this is still a problem in the latest version of Ionicons, please open a new issue and ensure the template is fully filled out. Thank you!