Commit 4406c1b
Fix spec/dummy Procfile.dev SERVER_BUNDLE_ONLY to match template convention (#2922)
## Summary
- Aligns `spec/dummy/Procfile.dev` to use `SERVER_BUNDLE_ONLY=yes`
instead of `=true`, matching the generator template and all other
Procfiles in the codebase
- Also fixes `CLIENT_BUNDLE_ONLY=true` → `=yes` in the RSC "how it
works" doc, which had the same inconsistency
- Both inconsistencies are purely cosmetic — webpack configs check
truthiness (`if (process.env.X)`), not exact string equality
## Context
- The `SERVER_BUNDLE_ONLY` inconsistency was introduced accidentally in
PR #1630 (June 2024) when the value was changed from `=yes` to `=true`
without review
- The `CLIENT_BUNDLE_ONLY` inconsistency in
`docs/pro/react-server-components/how-react-server-components-work.md`
was found during investigation — all other `CLIENT_BUNDLE_ONLY` usage
(`server_manager.rb`, specs, other docs) uses `=yes`
Closes #2409
## Test plan
- [x] CI passes (no functional change — both `"yes"` and `"true"` are
truthy in JS)
- [x] Verify `spec/dummy/Procfile.dev` now matches the template
convention
- [x] Verify RSC doc commands match the codebase convention
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated development/build configuration to adjust a server bundle
setting for consistent local tooling behavior.
* Updated documentation to reflect the revised build command and clarify
the local development workflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4c0f5bc commit 4406c1b
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- docs/pro/react-server-components
- react_on_rails/spec/dummy
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
0 commit comments