Sha256: 77694cb0baefa50585c48c692f128ae3acbb60b2c8f25ad1ee753b6044abe302

Contents?: true

Size: 614 Bytes

Versions: 4

Compression:

Stored size: 614 Bytes

Contents

module MaterialDesignLite
  module Sass
    module Rails
      class Engine < ::Rails::Engine
        initializer 'material_design_lite-sass.assets.precompile' do |app|
          %w(stylesheets javascripts fonts images).each do |sub|
            app.config.assets.paths << root.join('vendor/assets', sub).to_s
          end
          app.config.assets.precompile << %r(material-icons/MaterialIcons-Regular\.(?:eot|ttf|woff|woff2?)$)
          app.config.assets.precompile << %r(roboto/Roboto-[\w-]+\.(?:ttf|woff|woff2?)$)
          app.config.assets.precompile += %w[*.svg]
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
material_design_lite-sass-1.0.6.2 lib/material_design_lite/sass/engine.rb
material_design_lite-sass-1.0.6.1 lib/material_design_lite/sass/engine.rb
material_design_lite-sass-1.0.6 lib/material_design_lite/sass/engine.rb
material_design_lite-sass-1.0.5 lib/material_design_lite/sass/engine.rb