zephyr-astro-integration
Version:
Astro integration for Zephyr Cloud deployment and module federation
10 lines • 656 B
text/typescript
import { type ZeBuildAssetsMap, type ZephyrBuildTarget } from 'zephyr-agent';
type AstroAssets = Record<string, unknown> | Map<string, unknown> | Array<unknown> | undefined | null;
/**
* Extract assets map from Astro's build hook assets parameter. This is more efficient
* than walking the filesystem manually.
*/
export declare function extractAstroAssetsFromBuildHook(assets: AstroAssets, outputPath: string, target?: ZephyrBuildTarget): Promise<ZeBuildAssetsMap>;
export declare function extractAstroAssetsMap(buildDir: string, target?: ZephyrBuildTarget): Promise<ZeBuildAssetsMap>;
export {};
//# sourceMappingURL=extract-astro-assets-map.d.mts.map