rsnext/packages/next/build/webpack/loaders/next-middleware-ssr-loader
Jiachi Liu 2608e7d865
Migrate middleware ssr to edge functions (#37708)
x-ref: #31506

This PR migrates existing SSR on edge from middleware to edge functions implmentation. So that we can get rid of limitation of middleware and resolve the conflicts between middleware and edge SSR routes.

* Adding edge functions matching route in middleware catch all route,keep the order as `middleware catch all` -> redirects/rewrites -> `edge catch all` -> others
* Dropping middleware related code for edge SSR: removing client info and preflight request handling
2022-06-21 19:04:48 +00:00
..
index.ts chore: bump react dev dep to 18.2 (#37697) 2022-06-15 10:14:43 -05:00
render.ts Migrate middleware ssr to edge functions (#37708) 2022-06-21 19:04:48 +00:00
utils.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00