rsnext/packages/next/compiled/react-server-dom-webpack
Shu Ding 0613f76f38
Use deterministic module IDs in the client bundle (#37249)
Another strategy to do achieve the goal of #36995. With this PR the module IDs will be:
- (1) RSC: named (_this one doesn't matter_)
- (2) SSR: named
- (3) Client: deterministic

And we include the client module IDs in the flight manifest, as well as an extra mapping of 3) → 2) so during SSR it can require the correct module still.

## 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 `yarn lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-05-27 17:43:42 +00:00
..
cjs Use deterministic module IDs in the client bundle (#37249) 2022-05-27 17:43:42 +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