Sha256: ff2cfef7b999ed13724ff1f8af4cb87e9d1d2ac3c16a79b82f7e9b959dcdea43

Contents?: true

Size: 697 Bytes

Versions: 24

Compression:

Stored size: 697 Bytes

Contents

# frozen_string_literal: true

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

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

24 entries across 24 versions & 1 rubygems

Version Path
playbook_ui-10.25.0.pre.treeshaking1 lib/playbook/engine.rb
playbook_ui-10.24.0 lib/playbook/engine.rb
playbook_ui-10.24.0.pre.alpha1 lib/playbook/engine.rb
playbook_ui-10.23.0 lib/playbook/engine.rb
playbook_ui-10.23.0.pre.alpha2 lib/playbook/engine.rb
playbook_ui-10.23.0.pre.cachetest lib/playbook/engine.rb
playbook_ui-10.23.0.pre.alpha1 lib/playbook/engine.rb
playbook_ui-10.22.1 lib/playbook/engine.rb
playbook_ui-10.22.0 lib/playbook/engine.rb
playbook_ui-10.21.1.pre.alpha1 lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.lightbox.2 lib/playbook/engine.rb
playbook_ui-10.21.0 lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.lightbox lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.rg1 lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.jg1 lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.na1 lib/playbook/engine.rb
playbook_ui-10.21.0.pre.alpha.jd1 lib/playbook/engine.rb
playbook_ui-10.20.0 lib/playbook/engine.rb
playbook_ui-10.19.0 lib/playbook/engine.rb
playbook_ui-10.19.0.pre.lightbox lib/playbook/engine.rb