rsnext/packages/next/build/webpack/plugins
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
..
terser-webpack-plugin Use edge compiler for middleware (#36486) 2022-04-27 11:50:29 +02:00
wellknown-errors-plugin Fix next node buildin module error message for edge runtime (#36434) 2022-05-02 15:21:40 +00:00
build-manifest-plugin.ts feat: copy .env file in standalone mode (#34143) 2022-02-10 17:48:14 +00:00
copy-file-plugin.ts use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
css-minimizer-plugin.ts Pre-compile more dependencies (#32627) 2021-12-20 14:01:35 +01:00
flight-manifest-plugin.ts rsc: skip next builtin module when apply loaders (#36202) 2022-04-17 01:38:56 +00:00
font-stylesheet-gathering-plugin.ts Update font-stylesheet-gathering-plugin.ts (#30709) 2022-02-05 21:46:47 -06:00
jsconfig-paths-plugin.ts chore: replace deprecated String.prototype.substr() (#35421) 2022-03-24 17:49:38 -04:00
middleware-plugin.ts Refactor Page Paths utils and Middleware Plugin (#36576) 2022-04-30 11:19:27 +00:00
middleware-source-maps-plugin.ts Use edge compiler for middleware (#36486) 2022-04-27 11:50:29 +02:00
mini-css-extract-plugin.ts use official mini-css-extract-plugin and experimentalUseImportModule (#24573) 2021-05-12 16:04:01 +00:00
next-drop-client-page-plugin.ts Remove isWebpack5 checks (#29677) 2021-10-06 18:46:46 -05:00
next-trace-entrypoints-plugin.ts chore: replace deprecated String.prototype.substr() (#35421) 2022-03-24 17:49:38 -04:00
nextjs-require-cache-hot-reloader.ts Refactor sandbox module cache (#31822) 2021-11-26 12:06:41 +00:00
pages-manifest-plugin.ts Custom app for switchable runtime (#35666) 2022-04-05 19:46:17 +00:00
profiling-plugin.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
react-loadable-plugin.ts fixes to allow lazy compilation for import() (#32441) 2021-12-14 11:33:04 +01:00
serverless-plugin.ts update serverless plugin to use webpack 5 apis (#31058) 2021-11-06 01:19:25 +01:00
telemetry-plugin.ts Collect packages are used and eliminated in getServerSideProps (#35404) 2022-04-01 15:08:44 +00:00