1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Do not use webpacker master on edge Rails

Webpacker is stable now and we don't need to develop webpacker and rails
at the same time anymore.
This commit is contained in:
Rafael Mendonça França 2020-11-27 23:04:12 +00:00
parent 835dba24cb
commit 4891507b07
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -330,11 +330,7 @@ module Rails
def webpacker_gemfile_entry
return [] if options[:skip_javascript]
if options.dev? || options.edge? || options.master?
GemfileEntry.github "webpacker", "rails/webpacker", nil, "Use development version of Webpacker"
else
GemfileEntry.version "webpacker", "~> 5.0", "Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker"
end
GemfileEntry.version "webpacker", "~> 5.0", "Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker"
end
def jbuilder_gemfile_entry