rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
10 lines (9 loc) • 329 B
text/typescript
export declare function createAliasedModuleResolver({ getAliases, roots, conditionNames, name, }: {
getAliases?: () => Array<{
find: string | RegExp;
replacement: string;
}>;
roots: string[];
conditionNames?: string[];
name?: string;
}): (request: string, importer: string) => string | false;