mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
* fix: precommit script tracks size snapshots * feat: replace registryIds with knownTemplates
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
declare const Config: {
|
|
output?: "html" | "dom" | "hydrate" | "migrate" | "source";
|
|
errorRecovery?: boolean;
|
|
applyFixes?: Map<number, unknown>;
|
|
stripTypes?: boolean;
|
|
runtimeId?: string | null;
|
|
ast?: boolean;
|
|
code?: boolean;
|
|
writeVersionComment?: boolean;
|
|
ignoreUnrecognizedTags?: boolean;
|
|
sourceMaps?: boolean | "inline" | "both";
|
|
translator?: any;
|
|
fileSystem?: Pick<
|
|
typeof import("fs"),
|
|
"statSync" | "readFileSync" | "readdirSync"
|
|
>;
|
|
modules?: "esm" | "cjs";
|
|
resolveVirtualDependency?:
|
|
| ((
|
|
filename: string,
|
|
dep: { virtualPath: string; code: string; map?: any },
|
|
) => string)
|
|
| null;
|
|
hydrateIncludeImports?: RegExp | ((request: string) => boolean);
|
|
hydrateInit?: boolean;
|
|
optimize?: boolean;
|
|
optimizeKnownTemplates?: string[];
|
|
cache?: Map<unknown, unknown>;
|
|
hot?: boolean;
|
|
/** @deprecated */
|
|
meta?: boolean;
|
|
babelConfig?: {
|
|
ast?: boolean | null;
|
|
code?: boolean | null;
|
|
comments?: boolean | null;
|
|
compact?: boolean | "auto" | null;
|
|
caller?: { name?: string; [x: string]: unknown };
|
|
minified?: boolean | null;
|
|
[x: string]: unknown;
|
|
};
|
|
};
|
|
|
|
export = Config;
|