Commit 11dd1de
authored
Remove unnecessary experimental flag (vercel#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)1 parent 6d4f263 commit 11dd1de
File tree
21 files changed
+17
-51
lines changed- packages/next
- build
- swc
- export
- server
- dev
- test
- e2e
- app-dir
- app-alias
- app-prefetch
- app-rendering
- app-static
- app
- asset-prefix
- rsc-basic
- trailingslash
- switchable-runtime
- integration/react-streaming
- app
- unsupported-native-module
21 files changed
+17
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | 273 | | |
276 | | - | |
277 | | - | |
278 | 274 | | |
279 | 275 | | |
280 | 276 | | |
| |||
814 | 810 | | |
815 | 811 | | |
816 | 812 | | |
817 | | - | |
| 813 | + | |
818 | 814 | | |
819 | 815 | | |
820 | 816 | | |
| |||
912 | 908 | | |
913 | 909 | | |
914 | 910 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
| 911 | + | |
| 912 | + | |
919 | 913 | | |
920 | 914 | | |
921 | 915 | | |
| |||
1357 | 1351 | | |
1358 | 1352 | | |
1359 | 1353 | | |
1360 | | - | |
| 1354 | + | |
1361 | 1355 | | |
1362 | 1356 | | |
1363 | 1357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | 553 | | |
559 | 554 | | |
560 | 555 | | |
561 | | - | |
562 | | - | |
| 556 | + | |
563 | 557 | | |
564 | 558 | | |
565 | 559 | | |
| |||
1812 | 1806 | | |
1813 | 1807 | | |
1814 | 1808 | | |
1815 | | - | |
| 1809 | + | |
1816 | 1810 | | |
1817 | 1811 | | |
1818 | 1812 | | |
| |||
1881 | 1875 | | |
1882 | 1876 | | |
1883 | 1877 | | |
1884 | | - | |
1885 | 1878 | | |
1886 | 1879 | | |
1887 | 1880 | | |
1888 | | - | |
1889 | 1881 | | |
1890 | 1882 | | |
1891 | 1883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 345 | | |
349 | 346 | | |
350 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
570 | 569 | | |
571 | 570 | | |
572 | 571 | | |
573 | | - | |
574 | 572 | | |
575 | 573 | | |
576 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | | - | |
1351 | | - | |
1352 | 1350 | | |
1353 | 1351 | | |
1354 | | - | |
| 1352 | + | |
1355 | 1353 | | |
1356 | 1354 | | |
1357 | 1355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | | - | |
| 1006 | + | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | | - | |
| 1011 | + | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| |||
0 commit comments