We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94f7897 + 594776b commit b1a6cc0Copy full SHA for b1a6cc0
lib/react/jsx/sprockets_strategy.rb
@@ -23,7 +23,7 @@ def attach_with_strategy(sprockets_env, strategy_or_nil)
23
# @return [Symbol] based on the environment, return a method name to call with the sprockets environment
24
def detect_strategy
25
sprockets_version = Gem::Version.new(Sprockets::VERSION)
26
- if sprockets_version >= Gem::Version.new('4.x')
+ if sprockets_version >= Gem::Version.new('4.a')
27
:register_processors
28
elsif sprockets_version >= Gem::Version.new('3.0.0')
29
:register_engine_with_mime_type
0 commit comments