method

asset_pipeline_gemfile_entry

asset_pipeline_gemfile_entry()
private

No documentation available.

# File railties/lib/rails/generators/app_base.rb, line 172
      def asset_pipeline_gemfile_entry
        return [] if options[:skip_asset_pipeline]

        if options[:asset_pipeline] == "sprockets"
          GemfileEntry.floats "sprockets-rails",
            "The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]"
        elsif options[:asset_pipeline] == "propshaft"
          GemfileEntry.floats "propshaft", "The modern asset pipeline for Rails [https://github.com/rails/propshaft]"
        else
          []
        end
      end