rsnext/packages/next/build/webpack/loaders
Shu Ding 7b524c1b97
Properly support custom 500 page in the web server (#33729)
In the web runtime, currently we use `absolute500Path || absoluteErrorPath` to act like `/_error`. This PR fixes the behavior to use the `/pages/500.js` for 500 errors and `/pages/_error.js` for 500 fallback and other errors.

## 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-01-27 16:20:16 +00:00
..
css-loader Lazy-load postcss (#31762) 2021-11-25 18:41:20 +01:00
next-middleware-ssr-loader Properly support custom 500 page in the web server (#33729) 2022-01-27 16:20:16 +00:00
next-serverless-loader Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
next-style-loader Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
postcss-loader Lazy-load postcss (#31762) 2021-11-25 18:41:20 +01:00
resolve-url-loader Move resolve-url-loader into Next.js (#32932) 2022-01-02 16:16:17 -06:00
error-loader.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
next-client-pages-loader.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
next-flight-client-loader.ts Use swc parse for flight server and client loaders (#33713) 2022-01-27 15:48:09 +00:00
next-flight-server-loader.ts Use swc parse for flight server and client loaders (#33713) 2022-01-27 15:48:09 +00:00
next-image-loader.js use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
next-middleware-loader.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
next-swc-loader.js Update yarn PnP tests and disable swc file reading for PnP (#33236) 2022-01-14 09:43:30 -06:00
noop-loader.ts feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00