UNPKG

piral-base

Version:

The base library for creating a Piral instance.

9 lines (8 loc) 385 B
import type { DefaultLoaderConfig, PiletBundleEntry, Pilet } from '../../types'; /** * Loads the provided UMD-powered pilet. * @param entry The pilet's entry. * @param config The configuration for loading the pilet. * @returns The evaluated pilet that can now be integrated. */ export default function loader(entry: PiletBundleEntry, config: DefaultLoaderConfig): Promise<Pilet>;