Use the edge runtime in App Router files
ProprietaryNext.js 15 reports an error for the experimental-edge value of the runtime segment config, which meant the same as edge. Changes export const runtime = 'experimental-edge' to 'edge' in the files of the App Router folder, app or src/app. Files of the Pages Router are left alone.
io. moderne. nextjs.15. app-dir-runtime-config-experimental-edgemod run . --recipe= io. moderne. nextjs.15. app-dir-runtime-config-experimental-edgeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.