Sha256: cfc25678a8732de78818f903ce4696d8d21f72a39602e48bbdf9f818a63601f4
Contents?: true
Size: 509 Bytes
Versions: 5
Compression:
Stored size: 509 Bytes
Contents
require 'zeitwerk' require_relative 'avo/version' require_relative 'avo/engine' if defined?(Rails) loader = Zeitwerk::Loader.for_gem loader.setup module Avo ROOT_PATH = Pathname.new(File.join(__dir__, '..')) IN_DEVELOPMENT = ENV['AVO_IN_DEVELOPMENT'] == '1' PACKED = !IN_DEVELOPMENT class << self def webpacker @webpacker ||= ::Webpacker::Instance.new( root_path: ROOT_PATH, config_path: ROOT_PATH.join('config/webpacker.yml') ) end end end loader.eager_load
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
avo-0.5.0.beta9 | lib/avo.rb |
avo-0.5.0.beta8 | lib/avo.rb |
avo-0.5.0.beta7 | lib/avo.rb |
avo-0.5.0.beta6 | lib/avo.rb |
avo-0.5.0.beta5 | lib/avo.rb |