MCPcopy
hub / github.com/tdewolff/minify / MinifyConfig

Interface MinifyConfig

bindings/js/src/types.ts:42–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40export type MinifyMediaType = LiteralUnion<KnownMinifyMediaType | CommonMinifyMediaType, CustomMinifyMediaType>;
41
42export interface MinifyConfig {
43 cssPrecision?: number;
44 cssVersion?: number;
45 htmlKeepComments?: boolean;
46 htmlKeepConditionalComments?: boolean;
47 htmlKeepDefaultAttrvals?: boolean;
48 htmlKeepDocumentTags?: boolean;
49 htmlKeepEndTags?: boolean;
50 htmlKeepQuotes?: boolean;
51 htmlKeepSpecialComments?: boolean;
52 htmlKeepWhitespace?: boolean;
53 jsKeepVarNames?: boolean;
54 jsPrecision?: number;
55 jsVersion?: number;
56 jsonKeepNumbers?: boolean;
57 jsonPrecision?: number;
58 svgKeepComments?: boolean;
59 svgPrecision?: number;
60 xmlKeepWhitespace?: boolean;
61}
62
63export interface MinifyOptions extends MinifyConfig {
64 data: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…