Commit cd25163
committed
fix: address 6 bugs found in code review
1. Remove App Router pre-rendered HTML shortcut — was bypassing RSC
streaming and middleware/auth pipeline
2. Move Pages Router pre-rendered check after middleware/basePath/
redirects/rewrites pipeline (step 7b instead of 1b)
3. Skip ISR pages (revalidate != false) in collectStaticRoutes()
to prevent freezing dynamic content as static HTML
4. basePath handling covered by fix #2 (uses resolvedPathname)
5. Temp Vite servers now check for project vite.config and use it
when present, so user plugins/aliases are available
6. vinext start guard now checks config.output directly instead of
relying on out/ directory existence heuristic1 parent 7b3686f commit cd25163
3 files changed
Lines changed: 77 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
819 | 818 | | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
828 | 843 | | |
829 | 844 | | |
830 | 845 | | |
| |||
1000 | 1015 | | |
1001 | 1016 | | |
1002 | 1017 | | |
1003 | | - | |
1004 | 1018 | | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1013 | 1042 | | |
1014 | 1043 | | |
1015 | 1044 | | |
| |||
1025 | 1054 | | |
1026 | 1055 | | |
1027 | 1056 | | |
1028 | | - | |
| 1057 | + | |
1029 | 1058 | | |
| 1059 | + | |
1030 | 1060 | | |
1031 | 1061 | | |
1032 | 1062 | | |
| |||
1074 | 1104 | | |
1075 | 1105 | | |
1076 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1077 | 1117 | | |
1078 | 1118 | | |
1079 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 579 | | |
589 | 580 | | |
590 | 581 | | |
| |||
751 | 742 | | |
752 | 743 | | |
753 | 744 | | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | 745 | | |
766 | 746 | | |
767 | 747 | | |
| |||
930 | 910 | | |
931 | 911 | | |
932 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
933 | 925 | | |
934 | 926 | | |
935 | 927 | | |
| |||
0 commit comments