Upgrade from 1.7.19 to 2.0.0 adds ~20 kB gzip to bundle #3373
Unanswered
alexbepple
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Upgrading @headlessui/react from 1.7.x to 2.1.x added ~20 kB to my bundle. I narrowed it down to the major-version jump, i.e. the step 1.7.19 → 2.0.0 is responsible.
This increase in bundle size is not noted in the changelog. @maintainers: are you aware of this and do you consider this a bug?
More info
My only usages of
@headlessui/react
areimport { Dialog } from '@headlessui/react'
andimport { Menu } from '@headlessui/react'
.I am using vite v5.2.13 for bundling (so I guess it’s Rollup).
Beta Was this translation helpful? Give feedback.
All reactions