Sha256: b8cd0e379426872ca848c55f7a7febcaf39324c1ce0d7ea4c56498bac7870ea3

Contents?: true

Size: 435 Bytes

Versions: 20

Compression:

Stored size: 435 Bytes

Contents

require 'bourbon'
require 'neat'
require 'rails-assets-normalize-css'

module Uswds
  module Rails
    class Engine < ::Rails::Engine
      initializer 'uswds.assets' do |app|
        %w[fonts images javascripts stylesheets].each do |path|
          app.config.assets.paths << root.join('vendor', path).to_s
        end

        app.config.assets.precompile += [%r{uswds/.+\.(eot|png|svg|ttf|woff|woff2)$}]
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
uswds-rails-1.6.8.1 lib/uswds/rails/engine.rb
uswds-rails-1.6.8 lib/uswds/rails/engine.rb
uswds-rails-1.6.7 lib/uswds/rails/engine.rb
uswds-rails-1.6.4 lib/uswds/rails/engine.rb
uswds-rails-1.6.3 lib/uswds/rails/engine.rb
uswds-rails-1.6.2 lib/uswds/rails/engine.rb
uswds-rails-1.6.1 lib/uswds/rails/engine.rb
uswds-rails-1.6.0 lib/uswds/rails/engine.rb
uswds-rails-1.5.0 lib/uswds/rails/engine.rb
uswds-rails-1.4.6 lib/uswds/rails/engine.rb
uswds-rails-1.4.5 lib/uswds/rails/engine.rb
uswds-rails-1.4.4.1 lib/uswds/rails/engine.rb
uswds-rails-1.4.4 lib/uswds/rails/engine.rb
uswds-rails-1.4.3 lib/uswds/rails/engine.rb
uswds-rails-1.4.2 lib/uswds/rails/engine.rb
uswds-rails-1.4.1 lib/uswds/rails/engine.rb
uswds-rails-1.4.0 lib/uswds/rails/engine.rb
uswds-rails-1.3.1.1 lib/uswds/rails/engine.rb
uswds-rails-1.3.1 lib/uswds/rails/engine.rb
uswds-rails-1.3.0 lib/uswds/rails/engine.rb