rsnext/test/integration/image-optimizer/app
Balázs Orbán d008f655bc
fix: skip resizing image if it's animated (#39325)
We were resizing animated images when importing them, but we don't optimize images when they come from an upstream provider. For consistency, we can skip resizing for local animated images as well.

Fixes #39317

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-05 21:28:17 +00:00
..
pages fix: skip resizing image if it's animated (#39325) 2022-08-05 21:28:17 +00:00
public Fix next/image when src is webp but browser doesnt support it (#35190) 2022-03-10 15:02:13 +01:00
.gitignore Use Sharp if available for Image Optimization (#27346) 2021-07-22 18:11:17 -05:00
next.config.js Use Sharp if available for Image Optimization (#27346) 2021-07-22 18:11:17 -05:00