Sha256: 68e8b57645bab1e8e50d08d2894803d87d89725ce717000d26deae39bae73a40

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module FontAwesome
  module Less
    module Rails
      class Engine < ::Rails::Engine
        initializer 'font-awesome-less.assets.precompile', group: :all do |app|
          %w(stylesheets fonts).each do |sub|
            app.config.assets.paths << root.join('assets', sub).to_s
          end

          app.config.assets.precompile << %r(font-awesome/fontawesome-webfont\.(?:eot|svg|ttf|woff|woff2?)$)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
font-awesome-less-4.5.0 lib/font_awesome/less/rails/engine.rb