Skip to content
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

Update logic around next/future/image #20173

Merged
merged 2 commits into from
Dec 8, 2022
Merged

Conversation

kylegach
Copy link
Contributor

@kylegach kylegach commented Dec 8, 2022

What I did

Currently, the logic to ignore imports of next/future/image (introduced in 12.2 and removed in 13) does not apply correctly when using a version of next between 12 (inclusive) and 12.2 (exclusive), e.g. 12.1.5.

This PR updates the logic.

Related PR: #20098

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@kylegach kylegach self-assigned this Dec 8, 2022
@valentinpalkovic valentinpalkovic merged commit ee6b029 into next Dec 8, 2022
@valentinpalkovic valentinpalkovic deleted the nextjs-image-fix branch December 8, 2022 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants