Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 20c98b1

Browse files
Merge pull request #895 from 6br/fix_webpack4
Improve the condition of webpacker major version
2 parents a91e0d8 + f72fcd6 commit 20c98b1

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)

AltStyle によって変換されたページ (->オリジナル) /