Sha256: 447f44636bd89ffb4be0453a80ac674dbde5b21143b06eaa6703e375705c1372
Contents?: true
Size: 595 Bytes
Versions: 14
Compression:
Stored size: 595 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 unless Sprockets::Rails::VERSION.starts_with?('3') app.config.assets.precompile << %r(material-design-icons/Material-Design-Icons\.(?:eot|svg|ttf|woff|woff2?)$) app.config.assets.precompile << %r(roboto/Roboto-[\w-]+\.(?:eot|svg|ttf|woff|woff2?)$) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems