Skip to main content

source_map_base_dir

Function source_map_base_dir 

Source
pub fn source_map_base_dir(
    generated_url: &str,
    source_map_url: Option<&str>,
) -> Option<PathBuf>
Expand description

The directory that relative and virtual sources resolve from: the directory of the external map when the entry names one, else the directory of the generated script. None when the script is not a local file or the map is remote.