Sha256: b5c580cf0fa8af7100b08312ef27fe2545089e1f1c408e63e1065367277d038f
Contents?: true
Size: 754 Bytes
Versions: 14
Compression:
Stored size: 754 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.force_system_arguments = false 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
14 entries across 14 versions & 1 rubygems