rsnext/test/e2e/switchable-runtime
Shu Ding 11dd1de655
Remove unnecessary experimental flag (#40766)
`config.experimental.serverComponents` is currently required to be
enabled or disabled together with `config.experimental.appDir` (which
means `serverComponents === appDir` otherwise it will throw) so there is
no reason to keep both of them. This PR removes `serverComponents` from
Next.js and only rely on `appDir` instead.

## 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-09-21 21:30:46 +02:00
..
app Drop legacy RSC server and client extension (#40692) 2022-09-19 20:24:41 +00:00
pages fix(switchable-runtime): Make it possible to switch between edge and server runtime in dev (#39327) 2022-09-07 13:42:32 -07:00
utils Ensure server components entries are not part of the pages buildmanifest (#38416) 2022-07-07 22:17:17 +02:00
index.test.ts Change flight querystring to header (#40752) 2022-09-21 15:47:31 +02:00
next.config.js Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00