Sha256: 449831f586e3d1feed792d3f1d690aee7dd206525811a620faf0476f3d47aad8

Contents?: true

Size: 408 Bytes

Versions: 6

Compression:

Stored size: 408 Bytes

Contents

module Material
  module Sass
    class Engine < ::Rails::Engine
      initializer 'material-sass.assets.precompile' do |app|
        %w(stylesheets javascripts fonts images).each do |sub|
          app.config.assets.paths << root.join('app/assets', sub).to_s
        end
        app.config.assets.precompile << %r(MaterialIcons-Regular\.(?:eot|svg|ttf|woff|woff2?)$)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
material-sass-1.4.1 lib/material-sass/engine.rb
material-sass-1.4.0 lib/material-sass/engine.rb
material-sass-1.3.0 lib/material-sass/engine.rb
material-sass-1.1.0 lib/material-sass/engine.rb
material-sass-1.0.0 lib/material-sass/engine.rb
material-sass-0.0.4 lib/material-sass/engine.rb