class Webpacker::Manifest
def lookup(name, pack_type = {})
Example:
If no asset is found, returns nil.
Computes the relative path for a given Webpacker asset using manifest.json.
def lookup(name, pack_type = {}) compile if compiling? find(full_pack_name(name, pack_type[:type])) end