0eb9f7e76d
Part of #31506 and https://github.com/vercel/next.js/discussions/34179. This PR ensures that in the `nodejs` runtime, the flight data is statically stored as a JSON file if possible. Most of the touched code is related to conditions of static/SSG/SSR when runtime and/or RSC is involved. ## 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` |
||
---|---|---|
.. | ||
i18n | ||
router | ||
amp-context.ts | ||
amp.ts | ||
constants.ts | ||
dynamic.tsx | ||
escape-regexp.ts | ||
flush-effects.ts | ||
head-manager-context.ts | ||
head.tsx | ||
html-context.ts | ||
image-config-context.ts | ||
image-config.ts | ||
is-plain-object.ts | ||
loadable-context.ts | ||
loadable.d.ts | ||
loadable.js | ||
mitt.ts | ||
post-process.ts | ||
router-context.ts | ||
runtime-config.ts | ||
side-effect.tsx | ||
utils.ts |