Commit 87087c8
Fix cosmetic differences between standalone and fresh install output
- Add route reference to standalone Pro success message
- Fix extractLoader blank line positioning with .chomp
- Fix RSC plugin ordering to match template (before LimitChunkCountPlugin)
- Fix RSC plugin indentation in serverWebpackConfig (2-space, not 4-space)
- Fix clientWebpackConfig regex to not consume blank lines (\s* → ' *')
- Add blank line between serverConfig and rscConfig in ServerClientOrBoth
- Simplify React version warning to single npm command with ~19.0.3
- Remove stale @note comment about method call ordering
These changes ensure standalone gsub transforms produce byte-identical
webpack configs compared to the fresh install ERB template path.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 9134e17 commit 87087c8
File tree
3 files changed
+13
-18
lines changed- react_on_rails/lib/generators/react_on_rails
3 files changed
+13
-18
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
Lines changed: 9 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 74 | + | |
| 75 | + | |
81 | 76 | | |
82 | 77 | | |
83 | 78 | | |
| |||
306 | 301 | | |
307 | 302 | | |
308 | 303 | | |
309 | | - | |
| 304 | + | |
310 | 305 | | |
311 | 306 | | |
312 | 307 | | |
313 | | - | |
| 308 | + | |
314 | 309 | | |
315 | 310 | | |
316 | 311 | | |
| |||
372 | 367 | | |
373 | 368 | | |
374 | 369 | | |
375 | | - | |
376 | | - | |
377 | | - | |
| 370 | + | |
| 371 | + | |
378 | 372 | | |
379 | 373 | | |
380 | 374 | | |
381 | 375 | | |
382 | 376 | | |
383 | 377 | | |
384 | 378 | | |
385 | | - | |
| 379 | + | |
386 | 380 | | |
387 | 381 | | |
388 | 382 | | |
| |||
405 | 399 | | |
406 | 400 | | |
407 | 401 | | |
408 | | - | |
409 | | - | |
| 402 | + | |
410 | 403 | | |
411 | 404 | | |
412 | 405 | | |
413 | | - | |
| 406 | + | |
414 | 407 | | |
415 | 408 | | |
416 | 409 | | |
| |||
0 commit comments