Commit 33f9593
committed
Copy actual manifest files from webpack build if they exist
Instead of always creating empty stub manifest files, try to copy the
actual files from the Pro dummy webpack build first. This ensures RSC
tests have proper module mappings when the webpack build successfully
generates them.
Falls back to empty stubs if the files don't exist, preserving the
hang-prevention behavior.1 parent a94d26a commit 33f9593
File tree
1 file changed
+13
-4
lines changed- packages/react-on-rails-pro-node-renderer/scripts
1 file changed
+13
-4
lines changedLines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
0 commit comments