You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add validation and error messaging for hardcoded server bundle paths
Addresses review feedback to provide clear error messages when using
hardcoded paths with older Shakapacker versions.
Changes:
- Add runtime validation in serverWebpackConfig.js template for Shakapacker < 9.0
- Display helpful warning with configuration instructions if path doesn't exist
- Extract hardcoded "ssr-generated" to DEFAULT_SERVER_BUNDLE_OUTPUT_PATH constant
- Improve logging: use debug level for auto-detection (not user-initiated)
- Add documentation about absolute paths in normalize_to_relative_path
The validation helps users quickly identify configuration mismatches and
provides actionable guidance to fix them using rails react_on_rails:doctor.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments