rsnext/test/integration/react-streaming-and-server-components
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
..
app Add process env NEXT_RUNTIME (#36383) 2022-04-26 17:54:28 +00:00
switchable-runtime rsc: keep static page props (#36157) 2022-04-14 14:35:09 +00:00
test Fix next node buildin module error message for edge runtime (#36434) 2022-05-02 15:21:40 +00:00
unsupported-native-module Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00