swc_ecma_loader::resolvers::node

Function to_absolute_path

Source
pub fn to_absolute_path(path: &Path) -> Result<PathBuf, Error>