Sha256: 4396c339e9cb9207ce97cdbd0e9cc7c441290dd4a2a00dbc6ed4b09cfe3abd2d

Contents?: true

Size: 650 Bytes

Versions: 34

Compression:

Stored size: 650 Bytes

Contents

module MaterialComponentsWeb
  module Sass
    module Rails
      class Engine < ::Rails::Engine
        initializer 'material_components_web-sass.assets.precompile' do |app|
          %w(stylesheets javascripts fonts).each do |sub|
            app.config.assets.paths << root.join('vendor/assets', sub).to_s
          end

          unless Sprockets::Rails::VERSION.split('.', 2)[0].to_i >= 3
            app.config.assets.precompile << %r(material-icons/MaterialIcons-Regular\.(?:eot|ttf|woff|woff2?)$)
            app.config.assets.precompile << %r(roboto/Roboto-[\w-]+\.(?:ttf|woff|woff2?)$)
          end
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
material_components_web-sass-0.27.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.26.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.25.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.24.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.23.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.22.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.21.1 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.21.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.20.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.19.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.18.1 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.18.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.17.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.16.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.15.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.14.0.1 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.14.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.13.0 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.12.1 lib/material_components_web/sass/engine.rb
material_components_web-sass-0.12.0 lib/material_components_web/sass/engine.rb