Sha256: 89ca469a04e123fa7e763f7ee6655dc8cfd8e0c51d28398490193a341020e271

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

module Materialize
  module Sass
    class Engine < ::Rails::Engine
      initializer 'materialize-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(material-design-icons/Material-Design-Icons\.(?:eot|svg|ttf|woff2?)$)
        app.config.assets.precompile << %r(roboto/Roboto-Bold\.(?:eot|svg|ttf|woff2?)$)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
materialize-sass-0.96.1 lib/materialize-sass/engine.rb
materialize-sass-0.96.0 lib/materialize-sass/engine.rb
materialize-sass-0.95.3.4 lib/materialize-sass/engine.rb