class ViteRuby::Manifest

def load_manifest

Internal: Loads and merges the manifest files, resolving the asset paths.
def load_manifest
  files = [config.manifest_path, config.assets_manifest_path].select(&:exist?)
  files.map { |path| JSON.parse(path.read) }.inject({}, &:merge).tap(&method(:resolve_references))
end