Skip to main content

extract_source_mapping_url_from_content

Function extract_source_mapping_url_from_content 

Source
pub fn extract_source_mapping_url_from_content(
    file_content: &str,
) -> Option<&str>
Expand description

Extracts the sourceMappingURL from raw file content. This searches for a comment at the end of the file (only followed by whitespace).