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

[Question]: Installation / peer deps #1037

Open
afraser opened this issue May 8, 2024 · 0 comments
Open

[Question]: Installation / peer deps #1037

afraser opened this issue May 8, 2024 · 0 comments
Labels
Status: Help Wanted We need help with this issue

Comments

@afraser
Copy link

afraser commented May 8, 2024

I'm reading your installation guide and am confused as to why there are so many things to install that aren't listed among the other peer dependencies on package json.

Specifically these:

@headlessui/react
@headlessui/tailwindcss
@tailwindcss/forms
@remixicon/react

The documentation doesn't currently explain when/why these are required and I don't understand why they aren't simply bundled.

Somewhat related: Bundlephobia is showing me a confusing breakdown of the bundle here:

CleanShot 2024-05-08 at 144310 png

  1. the bundle is nearly a megabyte in size
  2. It's showing date-fns as being ~300kb when it's really about 75kb
  3. It's showing recharts as taking up ~300kb... this is actually plausible assuming it was tree-shaken on your end.
@severinlandolt severinlandolt added the Status: Help Wanted We need help with this issue label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help Wanted We need help with this issue
Projects
None yet
Development

No branches or pull requests

2 participants