forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate routing code from render servers (vercel#52492)
This breaks out routing handling from `next-server`, `next-dev-server`, and `base-server` so that these are only handling the "render" work and eventually these will be deleted completely in favor of the bundling work being done. The `router` process and separate `render` processes are still maintained here although will be investigated further in follow-up to see if we can reduce the need for these. We are also changing the `require-cache` IPC to a single call instead of call per entry to reduce overhead and also de-dupes handling for starting the server between the standalone server and normal server. To maintain support for existing turbopack route resolving this implements the new route resolving in place of the existing `route-resolver` until the new nextturbo API is fully landed. After these initial changes we should continue to eliminate non-render related code from `next-server`, `base-server`, and `next-dev-server`.
- Loading branch information
Showing
59 changed files
with
5,218 additions
and
4,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.