Module: Matestack::Ui::Bootstrap

Defined in:
lib/matestack/ui/bootstrap.rb,
lib/matestack/ui/bootstrap/engine.rb,
lib/matestack/ui/bootstrap/version.rb,
app/helpers/matestack/ui/bootstrap/application_helper.rb

Defined Under Namespace

Modules: ApplicationHelper, Registry Classes: Engine

Constant Summary collapse

ROOT_PATH =

github.com/rails/webpacker/blob/5-x-stable/docs/engines.md ROOT_PATH = Pathname.new(File.expand_path(“../../../../”, Pathname.new(__FILE__).realpath))

Pathname.new(File.join(__dir__, "../../../"))
VERSION =
'1.5.1'

Class Method Summary collapse

Class Method Details

.webpackerObject



18
19
20
21
22
23
# File 'lib/matestack/ui/bootstrap.rb', line 18

def webpacker
  @webpacker ||= ::Webpacker::Instance.new(
    root_path: ROOT_PATH,
    config_path: ROOT_PATH.join("config/webpacker.yml")
  )
end