Files
Jiwon ChoiandGitHub f9d4066078 feat(next-codemod): add app-dir-runtime-config-experimental-edge (#70968)
### Why?

We had breaking change in App Router at
https://github.com/vercel/next.js/pull/70480 where it strictly checks
`runtime` route segment config. If it is set to `experimental-edge`,
will throw. Therefore we support a codemod to replace it to `edge`.
2024-10-08 19:11:23 +00:00

4 lines
100 B
TypeScript

export const runtime = "nodejs";
export default function Page() {
return <div>hello world</div>;
}