rsnext/packages/next/client/dev/error-overlay
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
..
format-webpack-messages.d.ts improve production error message printing (#30065) 2021-10-20 18:23:44 -05:00
format-webpack-messages.js Fix next node buildin module error message for edge runtime (#36434) 2022-05-02 15:21:40 +00:00
hot-dev-client.js Add client HMR tracing for debugging (#36328) 2022-04-21 08:30:23 +00:00
websocket.ts Support assetPrefix specific protocol (#31213) 2021-11-09 15:26:55 -06:00