relative_fileify_source_map

Function relative_fileify_source_map 

Source
pub async fn relative_fileify_source_map(
    map: Option<&Rope>,
    context_path: FileSystemPath,
    relative_path_to_output_root: RcStr,
) -> Result<Option<Rope>>
Expand description

Turns turbopack:///[project] references in sourcemap sources into relative ‘./’ prefixed uris. This is useful in server environments and especially build environments.