Function get_relative_path

Source
pub fn get_relative_path(
    base_chunk_output_name: &str,
    other_chunk_output_name: &str,
) -> String
Expand description

This is ported from https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/esm/ModuleChunkFormatPlugin.js#L98