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