Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn and continue when local icon cannot be loaded #184

Merged
merged 2 commits into from Jan 2, 2024

Conversation

natemoo-re
Copy link
Owner

Closes #183.

Previously, invalid local icons would cause the entire local icon set to silently fail.
By using ignoreImportErrors: 'warn', invalid icons are now logged and ignored while valid icons are properly loaded.

Copy link

changeset-bot bot commented Jan 2, 2024

🦋 Changeset detected

Latest commit: 461be7c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro-icon Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jan 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
api-astroicon ✅ Ready (Inspect) Visit Preview Jan 2, 2024 9:14pm
astroicon ✅ Ready (Inspect) Visit Preview Jan 2, 2024 9:14pm

@natemoo-re natemoo-re merged commit beefcb7 into main Jan 2, 2024
4 of 5 checks passed
@natemoo-re natemoo-re deleted the fix/warn-on-error branch January 2, 2024 21:14
@github-actions github-actions bot mentioned this pull request Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Unable to load the "local" icon set!
1 participant