class ViteRuby::Manifest

def resolve_absolute_entry(name)

During develoment, files outside the root must be requested explicitly.
Internal: Entry names in the manifest are relative to the Vite.js.
def resolve_absolute_entry(name)
  if dev_server_running?
    File.join(FS_PREFIX, config.root, name)
  else
    config.root.join(name).relative_path_from(config.vite_root_dir).to_s
  end
end