piral-base
Version:
The base library for creating a Piral instance.
9 lines (8 loc) • 395 B
TypeScript
import type { DefaultLoaderConfig, PiletEntry, Pilet } from '../../types';
/**
* Loads an empty pilet as a placeholder (something went wrong beforehand).
* @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: PiletEntry, _config: DefaultLoaderConfig): Promise<Pilet>;