html-minifier-next
Version:
Super-configurable and well-tested web page minifier (enhanced successor of HTML Minifier)
102 lines • 3.29 kB
TypeScript
export const RE_WS_START: RegExp;
export const RE_WS_END: RegExp;
export const RE_ALL_WS_NBSP: RegExp;
export const RE_NBSP_LEADING_GROUP: RegExp;
export const RE_NBSP_LEAD_GROUP: RegExp;
export const RE_NBSP_TRAILING_GROUP: RegExp;
export const RE_NBSP_TRAILING_STRIP: RegExp;
export const RE_CONDITIONAL_COMMENT: RegExp;
export const RE_EVENT_ATTR_DEFAULT: RegExp;
export const RE_CAN_REMOVE_ATTR_QUOTES: RegExp;
export const RE_TRAILING_SEMICOLON: RegExp;
export const RE_AMP_ENTITY: RegExp;
export const RE_LEGACY_ENTITIES: RegExp;
export const RE_ESCAPE_LT: RegExp;
export const RE_ATTR_WS_CHECK: RegExp;
export const RE_ATTR_WS_COLLAPSE: RegExp;
export const RE_ATTR_WS_TRIM: RegExp;
export const inlineElementsToKeepWhitespaceAround: Set<string>;
export const inlineElementsToKeepWhitespaceWithin: Set<string>;
export const inlineElementsToKeepWhitespace: Set<string>;
export const formControlElements: Set<string>;
export namespace generalDefaults {
let autocorrect: string;
let fetchpriority: string;
let loading: string;
let popovertargetaction: string;
}
export namespace tagDefaults {
namespace area {
let shape: string;
}
namespace button {
let type: string;
}
namespace form {
let enctype: string;
let method: string;
}
namespace html {
let dir: string;
}
namespace img {
let decoding: string;
}
namespace input {
export let colorspace: string;
let type_1: string;
export { type_1 as type };
}
namespace link {
let media: string;
}
namespace marquee {
let behavior: string;
let direction: string;
}
namespace meta {
let media_1: string;
export { media_1 as media };
}
namespace source {
let media_2: string;
export { media_2 as media };
}
namespace style {
let media_3: string;
export { media_3 as media };
}
namespace textarea {
let wrap: string;
}
namespace track {
let kind: string;
}
}
export const executableScriptsMimetypes: Set<string>;
export const keepScriptsMimetypes: Set<string>;
export const jsonScriptTypes: Set<string>;
export const isSimpleBoolean: Set<string>;
export const isBooleanValue: Set<string>;
export const collapsibleValues: Map<string, Set<string>>;
export const srcsetElements: Set<string>;
export const optionalStartTags: Set<string>;
export const optionalEndTags: Set<string>;
export const headerElements: Set<string>;
export const descriptionElements: Set<string>;
export const pBlockElements: Set<string>;
export const pInlineElements: Set<string>;
export const rubyEndTagOmission: Set<string>;
export const rubyRtcEndTagOmission: Set<string>;
export const optionElements: Set<string>;
export const tableContentElements: Set<string>;
export const tableSectionElements: Set<string>;
export const cellElements: Set<string>;
export const topLevelElements: Set<string>;
export const compactElements: Set<string>;
export const looseElements: Set<string>;
export const trailingElements: Set<string>;
export const htmlElements: Set<string>;
export const reEmptyAttribute: RegExp;
export const specialContentElements: Set<string>;
//# sourceMappingURL=constants.d.ts.map