Is it expected Tooltip to have dependency on @internationalized/date? #3663
-
Hey, we have been using Tooltips and realized that the size of the package grew by around 20% and now @internationalized/date is being bundled together. I was using this as an analyzer: https://bundlephobia.com/package/@react-spectrum/tooltip@3.1.6. Just wanted to double-check if it's expected because it doesn't look like this package depends on @internationalized/date. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
What bundler are you using? I'm not sure bundlephobia is correct here. It is a dependency of |
Beta Was this translation helpful? Give feedback.
What bundler are you using? I'm not sure bundlephobia is correct here. It is a dependency of
@react-aria/i18n
, but unused by tooltip so should be tree shaken. When I bundled a simple example containing only Tooltip, it did not contain@internationalized/date
.