Skip to content

Commit f72fcd6

Browse files
committed
fix the condition of webpacker major version
1 parent a91e0d8 commit f72fcd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/server_rendering/webpacker_manifest_container.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def config
7777
def file_path path
7878
manifest.lookup_path(path)
7979
end
80-
elsif MAJOR == 3
80+
elsif MAJOR >= 3
8181
def file_path path
8282
::Rails.root.join('public', manifest.lookup(path)[1..-1])
8383
end

0 commit comments

Comments
 (0)