rsnext/packages/next/build/webpack/plugins/wellknown-errors-plugin
Shu Ding 9baf651154
Improve error messages of server compilation (#41136)
We used to format RSC errors (which are from the SWC loader) before outputting them to the CLI. This PR moves that to a better place in `WellknownErrorPlugin`.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a 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 a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-03 20:19:25 +00:00
..
index.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
parseBabel.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
parseCss.ts Fix typos (#35683) 2022-03-28 22:53:51 -05:00
parseNotFoundError.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
parseRSC.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
parseScss.ts Skip loading unused plugins in next dev (#37430) 2022-06-03 14:47:16 -04:00
simpleWebpackError.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
webpackModuleError.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00