lorenzodejong / next-sanity-image

Utility for using responsive images hosted on the Sanity.io CDN with the Next.js image component.
MIT License
149 stars 20 forks source link

Expand peer dependency range for nextjs 12 #24

Closed elmarburke closed 2 years ago

elmarburke commented 3 years ago

The package works well with next 12, it's only not listed in the peerDependencies. This PR widens the peerDependencies to support also v12

lorenzodejong commented 3 years ago

Thanks for the PR, however the syntax used in the package.json seems to be incorrect. Could you also install the package to update the package-lock.json and include this in the commit? Thanks!

lorenzodejong commented 3 years ago

It does seem like there are some issues with the upgrade to Next.js 12 (#23). We'll have to wait for this to be resolved before integrating this PR.

elmarburke commented 2 years ago

Would you mind publishing a prerelease (e.g. with a alpha tag) since it seams like no functionality will break and "only" warnings are emitted to the console? That would help me a lot actually.