rsnext/test/integration/react-streaming-and-server-components/test
Naoyuki Kanezawa 9e53af8e30
Fix next node buildin module error message for edge runtime (#36434)
- improve the message for importing node builtin module on edge runtime
- fix to show the message on overlay of error browser with `next dev`
- fix https://github.com/vercel/next.js/issues/36237

The message is NOT shown when using edge runtime (not middleware) since I cannot find a way to detect a webpack compilation is for edge runtime.

## 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`
2022-05-02 15:21:40 +00:00
..
basic.js Use renderToStaticMarkup to render documentHTML (#36213) 2022-04-19 17:20:20 +00:00
css.js Keep fouc tags for streaming (#35417) 2022-03-18 00:19:03 +00:00
functions.js test: organize react 18 tests (#36003) 2022-04-08 15:29:35 +00:00
index.test.js Fix next node buildin module error message for edge runtime (#36434) 2022-05-02 15:21:40 +00:00
rsc.js rsc: mark next head as client component (#36138) 2022-04-13 23:36:16 +00:00
runtime.js test: organize react 18 tests (#36003) 2022-04-08 15:29:35 +00:00
streaming.js Render resolved streaming content for static render result (#35221) 2022-03-10 21:34:40 +00:00
switchable-runtime.test.js rsc: keep static page props (#36157) 2022-04-14 14:35:09 +00:00
utils.js test: organize react 18 tests (#36003) 2022-04-08 15:29:35 +00:00