astro-compress - v2.3.7
    Preparing search index...

    Interface Interface

    interface Interface {
        Action?: boolean | Interface;
        Cache?: boolean | Interface;
        CSS?:
            | boolean
            | { csso?: boolean
            | Interface; lightningcss?: boolean | Interface };
        Exclude?: boolean | Type | Type[] | Set<Type>;
        File?: string | boolean | string[];
        HTML?: boolean | { "html-minifier-terser"?: boolean | Options };
        Image?: boolean | { sharp?: boolean | Interface };
        JavaScript?: boolean | { terser?: boolean | MinifyOptions };
        Logger?: boolean | Type;
        Map?: boolean | Interface;
        Parser?: Interface;
        Path?: boolean | Type | Type[] | Set<Type>;
        SVG?: boolean | { svgo?: boolean | Config };
    }

    Hierarchy

    • default
      • Interface
    Index

    Properties

    Action?: boolean | Interface

    Action pipe configuration.

    Cache?: boolean | Interface

    Configuration for the target cache.

    { Search: "./", Folder: "./Cache" }
    
    CSS?:
        | boolean
        | { csso?: boolean
        | Interface; lightningcss?: boolean | Interface }

    csso, lightningcss option properties

    Exclude?: boolean | Type | Type[] | Set<Type>

    Criteria for excluding files.

    File?: string | boolean | string[]

    File patterns to be matched.

    HTML?: boolean | { "html-minifier-terser"?: boolean | Options }

    html-minifier-terser option properties

    Image?: boolean | { sharp?: boolean | Interface }

    sharp option properties

    JavaScript?: boolean | { terser?: boolean | MinifyOptions }

    terser option properties

    Logger?: boolean | Type

    Debugging level.

    2
    
    Map?: boolean | Interface

    Map to different file paths

    Parser?: Interface

    Parsers for different file types

    Path?: boolean | Type | Type[] | Set<Type>

    Configuration for the target path(s).

    "./Target"
    
    SVG?: boolean | { svgo?: boolean | Config }

    svgo option properties