-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-plugin-image): Add outputPixelDensities
to SHARP_ATTRIBUTES
#36203
Conversation
`outputPixelDensities` in `StaticImage` was ignored due to its absence in `SHARP_ATTRIBUTES`.
Thanks @B11, can you also add a test for it in https://github.com/gatsbyjs/gatsby/tree/master/e2e-tests/visual-regression |
It just looks like a simple omission. And it usually doesn‘t cause a noticeable visual difference. |
Since this is a well tested React component we don't want to let this coverage slip, so we'd very much appreciate if you can add a test case to the mentioned suite. Let us know if you need any assistance, thanks! |
I'm new to NodeJS and I'm not familiar with Gatsby yet. I encountered this issue, and I found it was just a simple omission in the source code, based on years of experience in other languages. |
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.
Thanks!
outputPixelDensities
to SHARP_ATTRIBUTES
outputPixelDensities
inStaticImage
was ignored due to its absence inSHARP_ATTRIBUTES
.Related Issues
Fixes #32552
Fixes #33883