pub fn set_resolver(resolver: fn(&str, Option<&Path>) -> Option<PathBuf>)Expand description
Inject an external resolver function (e.g. bun_resolver::Resolver bridge).
Subsequent calls to resolve_specifier will delegate to this function first,
falling back to the built-in logic only if it returns None.