cal.com
cal.com copied to clipboard
Reduce bundle size by importing single icons at a time
What does this PR do?
This PR reduces the bundle size (mainly in benefit to the Atoms later), but importing single icons at a time. Difference is over 100KB for the Atom.
Before:
After:
Environment: Staging(main branch)
Type of change
- [x] Chore (refactoring code, technical debt, workflow improvements)
How should this be tested?
The result should be exactly the same, since only the path of icons has been updated from icons.[icon]
to [icon]
.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
cal | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 23, 2023 at 11:03PM (UTC) |
cal-com-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 23, 2023 at 11:03PM (UTC) |