Sha256: 5826db7de77d7e78caddb3e11cbb9ffe9dc08680d0fe5057da83fc1aecda14b3
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module MaterialDesignIcons module Rails class Engine < ::Rails::Engine initializer 'material_design_icons.assets.precompile', group: :all do |app| %w[stylesheets fonts images].each do |sub| app.config.assets.paths << root.join('assets', sub).to_s end %w[eot ttf woff woff2].each do |ext| app.config.assets.precompile << "materialdesignicons-webfont.#{ext}" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_material_design_icons-6.5.95 | lib/rails_material_design_icons/engine.rb |
rails_material_design_icons-0.7.0 | lib/rails_material_design_icons/engine.rb |