Skip to main content

minify

Function minify 

Source
pub fn minify(
    lang: &str,
    source: &str,
    opts: &MinifyOptions,
) -> Result<MinifyOutput, MinifyError>
Expand description

Dispatch to the appropriate minifier by language tag. Caller must check is_supported first; an unsupported language returns Err.