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

    Variable option

    option: {
        Action: {
            Accomplished: (__namedParameters: Interface) => Promise<string>;
            Changed: (Plan: Interface) => Promise<any>;
            Failed: (__namedParameters: Interface) => Promise<string>;
            Fulfilled: (__namedParameters: Interface) => Promise<string | false>;
            Passed: (__namedParameters: Interface) => Promise<boolean>;
            Read: (__namedParameters: Interface) => Promise<string>;
            Wrote: (__namedParameters: Interface) => Promise<Type>;
        };
        Cache: { Folder: string; Search: string };
        CSS: { csso: Interface; lightningcss: false };
        Exclude: false;
        File: string;
        HTML: {
            "html-minifier-terser": {
                caseSensitive: true;
                collapseInlineTagWhitespace: false;
                collapseWhitespace: true;
                continueOnParseError: true;
                html5: true;
                ignoreCustomComments: RegExp[];
                ignoreCustomFragments: never[];
                includeAutoGeneratedTags: true;
                keepClosingSlash: true;
                minifyCSS: true;
                minifyJS: true;
                minifyURLs: false;
                noNewlinesBeforeTagClose: true;
                preventAttributesEscaping: false;
                processConditionalComments: false;
                processScripts: string[];
                quoteCharacter: string;
                removeAttributeQuotes: true;
                removeComments: true;
                removeScriptTypeAttributes: true;
                removeStyleLinkTypeAttributes: true;
                removeTagWhitespace: false;
                sortAttributes: true;
                sortClassName: true;
                trimCustomFragments: true;
                useShortDoctype: false;
            };
        };
        Image: { sharp: Interface };
        JavaScript: {
            terser: {
                ecma: 5;
                enclose: false;
                format: { comments: false };
                ie8: false;
                keep_classnames: false;
                keep_fnames: false;
                module: false;
                safari10: false;
                toplevel: false;
            };
        };
        Logger: 2;
        Map: Interface;
        Parser: Interface;
        Path: string;
        SVG: {
            svgo: {
                js2svg: { indent: number; pretty: false };
                multipass: true;
                plugins: "preset-default"[];
            };
        };
    }

    Type declaration

    • Action: {
          Accomplished: (__namedParameters: Interface) => Promise<string>;
          Changed: (Plan: Interface) => Promise<any>;
          Failed: (__namedParameters: Interface) => Promise<string>;
          Fulfilled: (__namedParameters: Interface) => Promise<string | false>;
          Passed: (__namedParameters: Interface) => Promise<boolean>;
          Read: (__namedParameters: Interface) => Promise<string>;
          Wrote: (__namedParameters: Interface) => Promise<Type>;
      }
    • Cache: { Folder: string; Search: string }
    • CSS: { csso: Interface; lightningcss: false }
    • Exclude: false
    • File: string
    • HTML: {
          "html-minifier-terser": {
              caseSensitive: true;
              collapseInlineTagWhitespace: false;
              collapseWhitespace: true;
              continueOnParseError: true;
              html5: true;
              ignoreCustomComments: RegExp[];
              ignoreCustomFragments: never[];
              includeAutoGeneratedTags: true;
              keepClosingSlash: true;
              minifyCSS: true;
              minifyJS: true;
              minifyURLs: false;
              noNewlinesBeforeTagClose: true;
              preventAttributesEscaping: false;
              processConditionalComments: false;
              processScripts: string[];
              quoteCharacter: string;
              removeAttributeQuotes: true;
              removeComments: true;
              removeScriptTypeAttributes: true;
              removeStyleLinkTypeAttributes: true;
              removeTagWhitespace: false;
              sortAttributes: true;
              sortClassName: true;
              trimCustomFragments: true;
              useShortDoctype: false;
          };
      }
    • Image: { sharp: Interface }
    • JavaScript: {
          terser: {
              ecma: 5;
              enclose: false;
              format: { comments: false };
              ie8: false;
              keep_classnames: false;
              keep_fnames: false;
              module: false;
              safari10: false;
              toplevel: false;
          };
      }
    • Logger: 2
    • Map: Interface
    • Parser: Interface
    • Path: string
    • SVG: {
          svgo: {
              js2svg: { indent: number; pretty: false };
              multipass: true;
              plugins: "preset-default"[];
          };
      }