Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Update Image Stub for Next v12.2.0 #98

Merged

Conversation

tubbo
Copy link
Contributor

@tubbo tubbo commented Jun 28, 2022

NextJS no longer requires a bit of code added in to patch a bug that existed in Next v12.1.5 and above. As of v12.2.0, this patch is no longer needed, and furthermore causes a TypeError to be thrown when attempting to ugprade to Next 12 and running this addon in your Storybook.

Fixes: #95
Related: #72

NextJS no longer requires a bit of code added in to patch a bug that
existed in Next v12.1.5 and above. As of v12.2.0, this patch is no
longer needed, and furthermore causes a `TypeError` to be thrown when
attempting to ugprade to Next 12.

Fixes: RyanClementsHax#95
Related: RyanClementsHax#72
@RyanClementsHax
Copy link
Owner

Thanks for the help :)

@RyanClementsHax RyanClementsHax merged commit 583e145 into RyanClementsHax:main Jun 28, 2022
@github-actions
Copy link

🎉 This PR is included in version 1.6.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tubbo
Copy link
Contributor Author

tubbo commented Jun 30, 2022

No problem @RyanClementsHax, thanks for making this! It's enabled us to adopt Storybook with ease and gain some major process improvements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object.defineProperty(NextImage, '__esModule', descriptor) is no more needed from [email protected]
2 participants