You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This codemod transforms [Route Segment Config `runtime`](https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#runtime) value `experimental-edge` to `edge`.
40
-
41
-
For example:
42
-
43
-
```ts
44
-
exportconst runtime ='experimental-edge'
45
-
```
46
-
47
-
Transforms into:
48
-
49
-
```ts
50
-
exportconst runtime ='edge'
51
-
```
52
-
53
29
#### Migrate to async Dynamic APIs
54
30
55
31
APIs that opted into dynamic rendering that previously supported synchronous access are now asynchronous. You can read more about this breaking change in the [upgrade guide](/docs/app/building-your-application/upgrading/version-15).
@@ -311,6 +287,32 @@ Transforms into:
311
287
import { Inter } from'next/font/google'
312
288
```
313
289
290
+
### 13.1.2
291
+
292
+
#### Transform App Router Route Segment Config `runtime` value from `experimental-edge` to `edge`
This codemod transforms [Route Segment Config `runtime`](https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#runtime) value `experimental-edge` to `edge`.
0 commit comments