UNPKG

zephyr-xpack-internal

Version:

Xpack internals for Zephyr

23 lines • 1.08 kB
import type { ZephyrEngine, ZephyrBuildHooks } from 'zephyr-agent'; import { type Source } from 'zephyr-edge-contract'; import type { ModuleFederationPlugin, XStats, XStatsCompilation } from '../xpack.types.mjs'; import type { XPackBuildCoordinator, XPackParticipantDependencyPaths } from './xpack-build-coordinator.mjs'; export interface UploadAgentPluginOptions { zephyr_engine: ZephyrEngine; wait_for_index_html?: boolean; mfConfig?: ModuleFederationPlugin[] | ModuleFederationPlugin | undefined; hooks?: ZephyrBuildHooks; coordinator?: XPackBuildCoordinator; participant?: string; assetPrefix?: string; generation?: number; dependencyPaths?: XPackParticipantDependencyPaths; } export interface ZephyrAgentProps<T> { stats: XStats; stats_json: XStatsCompilation; pluginOptions: T; assets: Record<string, Source>; } export declare function xpack_zephyr_agent<T extends UploadAgentPluginOptions>({ stats, stats_json, assets, pluginOptions, }: ZephyrAgentProps<T>): Promise<void>; //# sourceMappingURL=ze-xpack-upload-agent.d.mts.map