rsnext/packages/next/compiled/react-server-dom-webpack
Shu Ding a3e067e6e5
Use the new moduleMap option in the flight client during SSR (#37406)
Adopt the new `moduleMap` option added in https://github.com/facebook/react/pull/24629, which helps us getting rid of our hacky implementation injected to `globalThis.__next_require__`. The map will be attached to the flight manifest as `__ssr_module_mapping__`.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] 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 `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-06-02 15:43:25 +00:00
..
cjs Use the new moduleMap option in the flight client during SSR (#37406) 2022-06-02 15:43:25 +00:00
index.js Update to copy necessary RSC files from dep (#30505) 2021-10-28 11:07:13 +02:00
package.json Update to copy necessary RSC files from dep (#30505) 2021-10-28 11:07:13 +02:00
writer.browser.server.js Update to copy necessary RSC files from dep (#30505) 2021-10-28 11:07:13 +02:00