swc_html_minifier

Trait MinifyCss

source
pub trait MinifyCss {
    type Options;

    // Required method
    fn minify_css(
        &self,
        options: &MinifyCssOption<Self::Options>,
        data: String,
        mode: CssMinificationMode,
    ) -> Option<String>;
}

Required Associated Types§

Required Methods§

source

fn minify_css( &self, options: &MinifyCssOption<Self::Options>, data: String, mode: CssMinificationMode, ) -> Option<String>

Implementors§