[Question]: Installation / peer deps
Author: afraserCreated May 8, 2024Updated Apr 23, 2025
LabelsStatus: Help Wanted
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/reactThe 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:
- the bundle is nearly a megabyte in size
- It's showing date-fns as being ~300kb when it's really about 75kb
- It's showing recharts as taking up ~300kb... this is actually plausible assuming it was tree-shaken on your end.
Source: tremorlabs/tremor-npm