Sha256: 38c28f4e9b097eefd6c61e351a15b1676ec5208a450eb5f445be2237da7d235b
Contents?: true
Size: 629 Bytes
Versions: 12
Compression:
Stored size: 629 Bytes
Contents
module FontAwesome module Sass module Rails class Engine < ::Rails::Engine initializer 'font-awesome-sass.assets.precompile', group: :all do |app| %w[stylesheets fonts].each do |sub| app.config.assets.paths << root.join('assets', sub).to_s end %w[ttf woff2].each do |ext| app.config.assets.precompile << "font-awesome/fa-brands-400.#{ext}" app.config.assets.precompile << "font-awesome/fa-regular-400.#{ext}" app.config.assets.precompile << "font-awesome/fa-solid-900.#{ext}" end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems