method
webpacker_gemfile_entry
v5.1.7 -
Show latest stable
- Class:
Rails::Generators::AppBase
webpacker_gemfile_entry()private
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 314
def webpacker_gemfile_entry
return [] unless options[:webpack]
comment = "Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker"
GemfileEntry.new "webpacker", nil, comment
end