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

feat: export individual components to allow for tree shaking #96

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

Pagebakers
Copy link
Contributor

I love this library, but I'm using it in a Chakra UI project and I don't need to extra weight of the radix ui dialog (9.5kb)

By exporting all individual components everything except Dialog can be imported, allowing bundlers to treeshake unused code and dependencies.

@vercel
Copy link

vercel bot commented Mar 1, 2023

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

Name Status Preview Comments Updated
cmdk-website ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 1, 2023 at 7:41PM (UTC)

@KenzoBenzo
Copy link

Would love to use cmdk + saas-ui!

Copy link
Owner

@pacocoursey pacocoursey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

@pacocoursey pacocoursey merged commit 1ee31eb into pacocoursey:main Mar 2, 2023
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.

3 participants