Sha256: 71562c2ea88b192cb680757e78e8e5f1bbf326042d3d5f4eb6f9a568a36e395a

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

module MojInternalTemplate
  class Engine < ::Rails::Engine
    initializer "moj_internal_template.assets.precompile" do |app|
      app.config.assets.paths << Engine.root.join("app", "assets", "fonts")
      app.config.assets.precompile += [
        /moj-internal.*\.css$/,
        /moj\.js$/,
        /\.(?:svg|eot|woff|ttf)$/
      ]
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
moj_internal_template-0.1.9 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.8 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.7 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.6 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.5 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.4 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.2 lib/moj_internal_template/engine.rb
moj_internal_template-0.1.1 lib/moj_internal_template/engine.rb