Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion lib/react/jsx/sprockets_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def attach_with_strategy(sprockets_env, strategy_or_nil)
# @return [Symbol] based on the environment, return a method name to call with the sprockets environment
def detect_strategy
sprockets_version = Gem::Version.new(Sprockets::VERSION)
if sprockets_version >= Gem::Version.new('4.x')
if sprockets_version >= Gem::Version.new('4.a')
:register_processors
elsif sprockets_version >= Gem::Version.new('3.0.0')
:register_engine_with_mime_type
Expand Down