Sha256: 6d3a2da7475a30bb10aeeac6c901c07122296a857fc593adfeb0def2aff8a428

Contents?: true

Size: 722 Bytes

Versions: 565

Compression:

Stored size: 722 Bytes

Contents

# frozen_string_literal: true

require "action_view/railtie"
require "webpacker/react"
require "view_component"

module Playbook
  class Engine < ::Rails::Engine
    isolate_namespace Playbook

    config.generators do |g|
      g.test_framework :rspec
    end

    config.view_component.render_monkey_patch_enabled = false

    if config.respond_to?(:assets)
      config.assets.paths ||= []
      config.assets.paths << Playbook::Engine.root.join("fonts")
      config.assets.paths << Playbook::Engine.root.join("app/pb_kits/playbook/pb_*")
    end

    if config.respond_to?(:sass)
      config.sass.load_paths ||= []
      config.sass.load_paths << Playbook::Engine.root.join("app/pb_kits/playbook")
    end
  end
end

Version data entries

565 entries across 565 versions & 1 rubygems

Version Path
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 lib/playbook/engine.rb
playbook_ui-13.34.1.pre.alpha.PLAY14703378 lib/playbook/engine.rb
playbook_ui-13.34.1 lib/playbook/engine.rb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 lib/playbook/engine.rb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 lib/playbook/engine.rb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 lib/playbook/engine.rb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 lib/playbook/engine.rb
playbook_ui-13.34.0 lib/playbook/engine.rb
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 lib/playbook/engine.rb
playbook_ui-13.33.1.pre.alpha.PLAY14063320 lib/playbook/engine.rb
playbook_ui-13.33.1 lib/playbook/engine.rb
playbook_ui-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 lib/playbook/engine.rb
playbook_ui-13.33.0.pre.alpha.PLAY1454formpillicons3309 lib/playbook/engine.rb
playbook_ui-13.33.0 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3266 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.PLAY14143251 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3239 lib/playbook/engine.rb
playbook_ui-13.32.0.pre.alpha.PLAY14103236 lib/playbook/engine.rb