piral-base
Version:
The base library for creating a Piral instance.
9 lines (8 loc) • 469 B
TypeScript
import type { PiletBundleEntry } from '../../types';
/**
* Includes the given bundle script via its URL with a dependency resolution.
* @param meta The meta data of the dependency to include.
* @param crossOrigin The override for the cross-origin attribute.
* @returns The evaluated module.
*/
export declare function includeBundle(meta: PiletBundleEntry, crossOrigin?: string): Promise<import("../../types").SinglePiletApp | import("../../types").MultiPiletApp>;