UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

8 lines (7 loc) 422 B
/** * Get the virtual module name for a dev CSS import. * Usage: `await loader.import(getDevCSSModuleName(routeData.component))` */ export declare function getDevCSSModuleName(componentPath: string): string; /** Get the virtual module name for a dev CSS import from the name of a virtual module for a page. */ export declare function getDevCssModuleNameFromPageVirtualModuleName(virtualModulePageName: string): string;