Commit 97e0be0
authored
chore(e2e): Pin to react-router 7.10.1 in spa e2e test (#18548)
The newly released [React Router
7.11.0](remix-run/react-router#14507) introduced
vite preview
support(remix-run/react-router#14507). This
change has a bug that affects SPA mode (`ssr: false`).
When building in SPA mode, React Router correctly builds the server
bundle (`build/server/index.js`) and then removes it with the message
`Removing the server build... due to ssr:false`.
The new vite preview implementation doesn't account for this removal and
attempts to import the deleted `build/server/index.js` file when
starting the preview server, causing:
> Cannot find module '/build/server/index.js'
Closes #18549 (added automatically)1 parent ad28c4d commit 97e0be0
File tree
1 file changed
+4
-4
lines changed- dev-packages/e2e-tests/test-applications/react-router-7-framework-spa
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments