UNPKG

piral-cli-webpack5

Version:

Provides debug and build capabilities for pilets and Piral instances using Webpack v5.

8 lines (7 loc) 531 B
import type { CheerioAPI } from 'cheerio'; import type { Configuration, Entry } from 'webpack'; export declare function isLocal(path: string): boolean; export declare function extractParts(content: CheerioAPI): string[]; export declare function getTemplates(entry: Entry): Array<string>; export declare function replaceEntries(existingEntries: Array<string>, oldEntry: string, newEntries: Array<string>): void; export declare function setEntries(config: Configuration, template: string, entries: [string, ...Array<string>]): void;