Skip to main content

parse_source_map_cache

Function parse_source_map_cache 

Source
pub fn parse_source_map_cache(
    raw: &Value,
) -> FxHashMap<String, SourceMapCacheEntry>
Expand description

Decodes each entry of a source-map-cache object on its own, keyed by script URL. An entry that does not decode is left out, so one bad entry does not remove the other maps. A value that is not an object gives an empty map.