@typed/content-hash
Version:
Content hash a directory of HTML/JS/CSS files and other static assets
16 lines • 676 B
TypeScript
import { DocumentRegistry, LogLevel } from './application';
import { HashPlugin } from './infrastructure';
export declare type ContentHashOptions = {
readonly directory: string;
readonly plugins: ReadonlyArray<HashPlugin>;
readonly assetManifest?: string;
readonly hashLength?: number;
readonly baseUrl?: string;
readonly documentRegistry?: DocumentRegistry;
readonly logLevel?: LogLevel;
readonly logPrefix?: string;
readonly registryFile?: string;
readonly sourceMaps?: boolean;
};
export declare function contentHashDirectory(options: ContentHashOptions): Promise<DocumentRegistry>;
//# sourceMappingURL=contentHashDirectory.d.ts.map