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

[v5] [core] fix(Icon): don't use default loader if icon is already loaded #6158

Merged
merged 2 commits into from
May 15, 2023

Conversation

adidahiya
Copy link
Contributor

Fixes #6152

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Update icon loading logic in <Icon> to avoid loading icon components with the default loader (which will be invalid in non-webpack bundlers) in cases when the icon has already been loaded (through Icons.loadAll() or Icons.load()).

It's a bit difficult to test this change in the current build system. I'll test this out after the next .alpha release. I will consider adding a Vite build package to this monorepo to test this kind of thing out in the future (perhaps packages/demo-app is a good candidate).

@adidahiya
Copy link
Contributor Author

[v5] [core] fix(Icon): don't use default loader if icon is already loaded

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

move error to , fix TagInput tests

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

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.

1 participant