piral-base
Version:
The base library for creating a Piral instance.
9 lines (8 loc) • 369 B
TypeScript
import type { DefaultLoaderConfig, PiletV3Entry, Pilet } from '../../types';
/**
* Loads the provided SystemJS-powered pilet.
* @param entry The pilet's entry.
* @param options The loader configuration.
* @returns The evaluated pilet that can now be integrated.
*/
export default function loader(entry: PiletV3Entry, options: DefaultLoaderConfig): Promise<Pilet>;