@playform/compress - v0.2.1
    Preparing search index...

    Interface Interface

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

    Hierarchy

    • default
      • Interface
    Index

    Properties

    CSS?: boolean | Partial<{ csso?: boolean | Interface; lightningcss?: boolean | Interface }>

    csso, lightningcss option properties

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

    html-minifier-terser option properties

    Image?: boolean | Partial<{ sharp?: boolean | Interface }>

    sharp option properties

    JavaScript?: boolean | Partial<{ terser?: boolean | MinifyOptions }>

    terser option properties

    SVG?: boolean | Partial<{ svgo?: boolean | Config }>

    svgo option properties

    JSON?: boolean | Partial<{ replacer?: (string | number)[] | null; space?: string | number }>

    JSON option properties

    Map?: boolean | Interface

    Map to different file paths

    Parser?: Interface

    Parsers for different file types

    Cache?: boolean | Interface

    Configuration for the target cache.

    { Search: "./", Folder: "./Cache" }
    
    Path?: boolean | Type | Type[] | Set<Type>

    Configuration for the target path(s).

    "./Target"
    
    Exclude?: boolean | Type | Type[] | Set<Type>

    Criteria for excluding files.

    File?: string | boolean | string[]

    File patterns to be matched.

    Action?: boolean | Interface

    Action pipe configuration.

    Logger?: boolean | Type

    Debugging level.

    2