rsnext/packages/next/build
Shu Ding 931666dd3c
Fix uncaught error in getInitialProps when runtime is set to nodejs (#34228)
This PR ensures that the test "should render 500 error correctly" doesn't break when `runtime` is set to `nodejs` with `serverComponents` enabled.

This test case is now moved to the "basic" suite to ensure it doesn't break in both runtimes. And "should not bundle external imports into client builds for RSC" is enabled for the `nodejs` runtime too.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] 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-02-11 18:30:39 +00:00
..
babel feat: copy .env file in standalone mode (#34143) 2022-02-10 17:48:14 +00:00
jest Remove experimental warning from next/jest (#34096) 2022-02-08 16:52:05 +00:00
output Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
polyfills Fix global process testing for the process polyfill (#33220) 2022-01-13 16:44:55 +00:00
swc Chore/stable swc compiler options (#34074) 2022-02-10 01:54:28 +00:00
webpack Fix uncaught error in getInitialProps when runtime is set to nodejs (#34228) 2022-02-11 18:30:39 +00:00
compiler.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
cssnano-simple.js Pre-compile more dependencies (#32627) 2021-12-20 14:01:35 +01:00
entries.ts Use renderToStream with React 18 (#34106) 2022-02-08 19:39:27 +00:00
generate-build-id.ts Fix generateBuildId type that can be async function (#28040) 2021-08-12 22:26:44 +00:00
index.ts feat: copy .env file in standalone mode (#34143) 2022-02-10 17:48:14 +00:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
load-jsconfig.ts Experimental next/jest config helper (#31246) 2021-11-10 16:16:15 -08:00
spinner.ts [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
utils.ts Ensure standalone server handles SIGTERM (#34151) 2022-02-10 12:13:27 +01:00
webpack-config.ts Chore/stable swc compiler options (#34074) 2022-02-10 01:54:28 +00:00
worker.ts use a shared worker pool for collecting page data and static page generation (#27924) 2021-08-12 19:54:49 +00:00
write-build-id.ts Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00