class Webpacker::Remote::Manifest

Public Instance Methods

load() click to toggle source
# File lib/webpacker/remote/manifest.rb, line 6
def load
  @webpacker.public_manifest_content
end
lookup(name, pack_type = {}) click to toggle source
Calls superclass method
# File lib/webpacker/remote/manifest.rb, line 16
def lookup(name, pack_type = {})
  return unless (path = super)

  File.join(config.root_path.to_s, path)
end
lookup_pack_with_chunks(name, pack_type = {}) click to toggle source
Calls superclass method
# File lib/webpacker/remote/manifest.rb, line 10
def lookup_pack_with_chunks(name, pack_type = {})
  return unless (paths = super)

  paths.map { |p| File.join(config.root_path.to_s, p) }
end