class ViteRuby::Manifest
def lookup(name, **options)
manifest.lookup('calendar.js')
Example:
Returns a relative path, or nil if the asset is not found.
Internal: Computes the path for a given Vite asset using manifest.json.
def lookup(name, **options) @build_mutex.synchronize { builder.build || (return nil) } if should_build? find_manifest_entry resolve_entry_name(name, **options) end