HTML: {
    caseSensitive: true;
    collapseInlineTagWhitespace: false;
    collapseWhitespace: true;
    continueOnParseError: true;
    html5: true;
    ignoreCustomComments: RegExp[];
    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;
}

Type declaration

  • caseSensitive: true
  • collapseInlineTagWhitespace: false
  • collapseWhitespace: true
  • continueOnParseError: true
  • html5: true
  • ignoreCustomComments: RegExp[]
  • 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

Generated using TypeDoc