astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
10 lines (9 loc) • 490 B
TypeScript
import type { GetModuleInfo } from 'rollup';
import type { AstroSettings } from '../../types/astro.js';
export declare function shortHashedName(settings: AstroSettings): (id: string, ctx: {
getModuleInfo: GetModuleInfo;
}) => string;
export declare function createNameHash(baseId: string | undefined, hashIds: string[], settings: AstroSettings): string;
export declare function createSlugger(settings: AstroSettings): (id: string, ctx: {
getModuleInfo: GetModuleInfo;
}) => string;