@omnia/tooling-vue
Version:
Used to bundle and serve manifests web component that build on Vue framework.
21 lines (20 loc) • 793 B
TypeScript
import { ESBuildTransformResult } from 'vite';
import type { FileGraph } from './typings';
interface ManifestDependency {
entryName: string;
entryPaths: Array<string>;
dependingOnManifests: Array<{
resourceId: string;
serviceId: string;
}>;
}
export declare function getFileGraph(unknownId: string): FileGraph;
export declare function toFileGraphId(unknownId: string): string;
export declare function toModuleId(unknownId: string): string;
export declare function buildFileGraphs(entries: Record<string, Array<string>>): Promise<Record<string, ManifestDependency>>;
export declare function buildFileGraph(unknownId: string, code: string): Promise<{
fileGraph: FileGraph;
code: string;
esbuildTransformResult?: ESBuildTransformResult;
}>;
export {};