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

chore: optimize react-simple-icons #608

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

chanceaclark
Copy link
Contributor

What/Why?

Was running into this issue with react-simple-icons due to them only exporting a barrel file. This causes some issues when the runtime tries to build a page and has to handle a ton of files (or large files) at once.

Before this PR we have been bundling the full export of @icons-pack/react-simple-icons. With a recent version of Next.js, it introduces an automagical way of optimizing the imports, cutting down bundle size. This PR cuts down that packages import size while fixing any future versions of the issue I ran into.

@chanceaclark chanceaclark requested a review from a team as a code owner February 27, 2024 20:46
Copy link

vercel bot commented Feb 27, 2024

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

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2024 8:55pm
catalyst-no-kv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2024 8:55pm
catalyst-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2024 8:55pm
6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Feb 27, 2024 8:55pm
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 8:55pm
catalyst-2000ms-api ⬜️ Ignored (Inspect) Feb 27, 2024 8:55pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 8:55pm
catalyst-nodejs ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 8:55pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2024 8:55pm

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.

2 participants