piral-base
Version:
The base library for creating a Piral instance.
9 lines (8 loc) • 369 B
TypeScript
import type { DefaultLoaderConfig, PiletV2Entry, 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: PiletV2Entry, _config: DefaultLoaderConfig): Promise<Pilet>;