also expose resolveUrl