Sha256: fecb170101a0af0af177ed0d05b5f41c922f1053d7b1cc8b58e19d4aee72a401
Contents?: true
Size: 509 Bytes
Versions: 18
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
18 entries across 18 versions & 1 rubygems