Flowdock
method

webpacker_gemfile_entry

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: AppBase
webpacker_gemfile_entry() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 313
      def webpacker_gemfile_entry
        return [] if options[:skip_javascript]

        if options.dev? || options.edge?
          GemfileEntry.github "webpacker", "rails/webpacker", nil, "Use development version of Webpacker"
        else
          GemfileEntry.version "webpacker", "~> 4.0", "Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker"
        end
      end
Register or log in to add new notes.