Sha256: 18544bf87e85f23fa3be2d821c74fcdbf98306898fac4a2b1e8ef1de4fa9e0f8
Contents?: true
Size: 732 Bytes
Versions: 11
Compression:
Stored size: 732 Bytes
Contents
class Webpacker::Instance cattr_accessor(:logger) { ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDOUT)) } attr_reader :root_path, :config_path def initialize(root_path: Rails.root, config_path: Rails.root.join("config/webpacker.yml")) @root_path, @config_path = root_path, config_path end def env @env ||= Webpacker::Env.inquire self end def config @config ||= Webpacker::Configuration.new self end def compiler @compiler ||= Webpacker::Compiler.new self end def dev_server @dev_server ||= Webpacker::DevServer.new self end def manifest @manifest ||= Webpacker::Manifest.new self end def commands @commands ||= Webpacker::Commands.new self end end
Version data entries
11 entries across 11 versions & 1 rubygems