-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Vendor image-size #6559
Vendor image-size #6559
Conversation
🦋 Changeset detectedLatest commit: ce5d603 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the maintainers-docs review since the only "docs change" is the vendor README that isn't user-facing (and LGTM!) 🙌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a changeset. Otherwise looks good, thanks for remembering the license.
Changes
image-size
has caused us a lot of migraine because it's CJS. For some reasons, Vite does not handle it correctly and you get a bunch ofrequire is not defined
and other errors depending on your package manager, type of install, phase of the moon etc. This vendors it and removes the CJS part of it so everything works.Vendoring
queue
, a dep ofimage-size
was also needed because it ran into the same issues.Testing
Tests still pass + tested manually!
Docs
N/A