class Importmap::Map

def to_json(resolver:)

def to_json(resolver:)
  cache_as(:json) do
    JSON.pretty_generate({ "imports" => resolve_asset_paths(expanded_packages_and_directories, resolver: resolver) })
  end
end