Commit 7d00302
Fix server bundle path duplication by handling nested absolute paths
- Handle case where both source_path and source_entry_path are absolute
- Extract relative entry path when source_entry_path contains source_path
- Remove debug logging since issue is resolved
- Add test case for nested absolute path scenario
This fixes the issue where paths like:
/app/client/app + /app/client/app/packs → client/app/packs (correct)
instead of: client/app/app/client/app/packs (incorrect)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 25e43be commit 7d00302
File tree
2 files changed
+34
-22
lines changed- lib/react_on_rails
- spec/lib/react_on_rails
2 files changed
+34
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
315 | 316 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
333 | 320 | | |
334 | 321 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
339 | 334 | | |
340 | | - | |
341 | 335 | | |
342 | 336 | | |
343 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
121 | 139 | | |
122 | 140 | | |
123 | 141 | | |
| |||
0 commit comments