Sha256: 36ed41049e4d8f87859f3c12bf124cc54dd362fc14c35a4ebafeda0478e1f260
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true require "rails/engine" module Primer module ViewComponents # :nodoc: class Engine < ::Rails::Engine isolate_namespace Primer::ViewComponents config.autoload_once_paths = %W[ #{root}/app/components #{root}/app/lib ] config.primer_view_components = ActiveSupport::OrderedOptions.new config.primer_view_components.force_functional_colors = true config.primer_view_components.silence_color_deprecations = false initializer "primer_view_components.assets" do |app| app.config.assets.precompile += %w[primer_view_components] if app.config.respond_to?(:assets) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
primer_view_components-0.0.28 | lib/primer/view_components/engine.rb |