rsnext/test/.stats-app
Jiachi Liu 1079c10064
Alias next/server for edge runtime (#50268)
* For edge runtime, map `next/server` to esm assets to get benefit from
tree-shaking
* Mark process.turbo flag as `false` when running with webpack

Closes NEXT-1212

Compare with canary (13.4.4-canary.8)

#### Middleware

##### before vs after
<img width="319" alt="image"
src="https://github.com/vercel/next.js/assets/4800338/ffa3e744-8f14-4c61-9f5a-ccd04b8911f2">
<img width="317" alt="image"
src="https://github.com/vercel/next.js/assets/4800338/fc974a39-49f3-439a-966c-07af3c71db05">



#### Edge route

##### before vs after
<img width="313" alt="image"
src="https://github.com/vercel/next.js/assets/4800338/bea6e7bb-5875-4a6b-899f-94ad6a8df902">

<img width="314" alt="image"
src="https://github.com/vercel/next.js/assets/4800338/1783fb03-b473-496a-bb97-fa613fe58d7a">
2023-05-24 15:34:29 -07:00
..
app Alias next/server for edge runtime (#50268) 2023-05-24 15:34:29 -07:00
components Add additional stats app pages (#27202) 2021-07-16 12:13:04 -05:00
pages Add export runtime test for pages and fully remove experimental.runtime (#48630) 2023-04-20 22:37:38 +00:00
middleware.js Add middleware size stats (#37519) 2022-06-07 17:05:48 +00:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
package.json Update precompiled react to next channel (#41708) 2022-10-24 00:31:52 -07:00
stats-config.js Remove serverComponents from next.conf.js because it's unused (#43805) 2022-12-07 15:57:03 +01:00