rsnext/packages/next/server/dev
Shu Ding 201f98e81a
Per-page runtime (#35011)
Partially implements #31317 and #31506. There're also some trade-offs made with this PR: since we can't know if a certain runtime will be used or not beforehand, we have to start both runtime compilers (Node.js and Edge) and then generate entrypoints correspondingly.

Note that with this PR, the global runtime is still required to use the per-page runtime.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-03-08 20:55:14 +00:00
..
hot-middleware.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
hot-reloader.ts Per-page runtime (#35011) 2022-03-08 20:55:14 +00:00
next-dev-server.ts Per-page runtime (#35011) 2022-03-08 20:55:14 +00:00
on-demand-entry-handler.ts Per-page runtime (#35011) 2022-03-08 20:55:14 +00:00
static-paths-worker.ts Add port and hostname options to Next Server (#31858) 2021-11-28 16:48:43 +00:00