Sha256: 9eac62bd2589fb3a29877bd1751215badaa33d7957e541fd14daeda4a86f1930
Contents?: true
Size: 809 Bytes
Versions: 8
Compression:
Stored size: 809 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: Jets.root, config_path: Jets.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( root_path: root_path, config_path: config_path, env: env ) end def compiler @compiler ||= Webpacker::Compiler.new self end def dev_server @dev_server ||= Webpacker::DevServer.new config end def manifest @manifest ||= Webpacker::Manifest.new self end def commands @commands ||= Webpacker::Commands.new self end end
Version data entries
8 entries across 8 versions & 1 rubygems