method

assets_gemfile_entry

Importance_0
assets_gemfile_entry() protected

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 295
      def assets_gemfile_entry
        return [] if options[:skip_sprockets]

        gems = []
        gems << GemfileEntry.version('sass-rails', '~> 5.0',
                                     'Use SCSS for stylesheets')

        gems << GemfileEntry.version('uglifier',
                                   '>= 1.3.0',
                                   'Use Uglifier as compressor for JavaScript assets')

        gems
      end
Register or log in to add new notes.