Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/react_on_rails/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def self.bundle_js_file_path(bundle_name)
private_class_method def self.server_bundle?(bundle_name)
config = ReactOnRails.configuration
bundle_name == config.server_bundle_js_file ||
bundle_name == config.rsc_bundle_js_file
bundle_name == config.rsc_bundle_js_file ||
bundle_name == config.react_server_client_manifest_file
end

private_class_method def self.handle_missing_manifest_entry(bundle_name, is_server_bundle)
Expand Down Expand Up @@ -170,7 +171,7 @@ def self.react_server_client_manifest_file_path
"react_server_client_manifest_file is nil, ensure it is set in your configuration"
end

@react_server_manifest_path = File.join(public_bundles_full_path, asset_name)
@react_server_manifest_path = bundle_js_file_path(asset_name)
end

def self.running_on_windows?
Expand Down
Loading