Import ImageResponse from next/og

Proprietary

Next.js 14 deprecated the ImageResponse export of next/server. Imports it from next/og instead, keeping an alias, and leaves the other next/server imports in place.

io.moderne.nextjs.14.next-og-import
mod run . --recipe=io.moderne.nextjs.14.next-og-import

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.