Sha256: 405ad50e1d9af63ee8fca1ec55190a44b2ca3cac656e28d9c804d7b4f47b164f
Contents?: true
Size: 686 Bytes
Versions: 13
Compression:
Stored size: 686 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_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
13 entries across 13 versions & 1 rubygems