Next.js 13 to 14 code changes
ProprietaryMigrate a Next.js 13 codebase to Next.js 14 without changing dependency versions: import ImageResponse from next/og, move viewport and themeColor out of metadata, remove the experimental.serverActions flag, and replace images.domains with images.remotePatterns. Moves the @next/font imports to the built-in next/font and then removes the @next/font package, which Next.js 14 dropped.
io. moderne. nextjs. migrate. nextjs-13-to-14-code-changesmod run . --recipe= io. moderne. nextjs. migrate. nextjs-13-to-14-code-changesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.