vite-plugin-zephyr
Version:
Vite plugin for Zephyr
20 lines • 1.11 kB
TypeScript
import type { Plugin } from 'vite' with { 'resolution-mode': 'import'
};
import { type ZephyrBuildHooks, type ZephyrBuildTarget } from 'zephyr-agent';
import { type ModuleFederationOptions } from './internal/mf-vite-etl/ensure_runtime_plugin.js';
import { type VitePartialBuildOptions } from './internal/partial-build-scope.js';
export interface WithZephyrOptions {
/** Zephyr build target, including the `tap-app` mini-app artifact family. */
target?: ZephyrBuildTarget;
hooks?: ZephyrBuildHooks;
/** One or more Module Federation containers emitted by this Vite build. */
mfConfig?: ModuleFederationOptions | ModuleFederationOptions[];
/** Override automatic CSR/SSR detection for Vite environment builds. */
snapshotType?: 'csr' | 'ssr';
/** Server entrypoint relative to the shared snapshot root. */
entrypoint?: string;
/** Correlates intentionally separate withZephyrPartial producer processes. */
partialBuild?: VitePartialBuildOptions;
}
export declare function withZephyr(options?: WithZephyrOptions): Plugin[];
//# sourceMappingURL=vite-plugin-zephyr.d.ts.map