swc_ecma_loader::resolvers::node

Function to_absolute_path

source
pub fn to_absolute_path(path: &Path) -> Result<PathBuf, Error>
Available on crate feature node only.