Class: ReactOnRailsPro::PrepareNodeRenderBundles

Inherits:
Object
  • Object
show all
Defined in:
lib/react_on_rails_pro/prepare_node_renderer_bundles.rb

Overview

DEPRECATED: use ‘ReactOnRailsPro::PreSeedRendererCache.call(mode: :symlink)` directly. Retained as a thin shim so existing callers (custom rake tasks, Procfile entries, deploy scripts) keep working during the deprecation cycle. Emits a warning once per process on first call.

Class Method Summary collapse

Class Method Details

.callObject

The deprecated rake task emits its own warning and calls PreSeedRendererCache directly; it does not set this one-time guard. See assets.rake for that path.



19
20
21
22
# File 'lib/react_on_rails_pro/prepare_node_renderer_bundles.rb', line 19

def self.call
  emit_deprecation_warning!
  PreSeedRendererCache.call(mode: :symlink)
end