UNPKG

@criticalmanufacturing/node-package-bundler

Version:
34 lines (33 loc) 1.11 kB
export declare class PackagePacker { private _logger; private _operations; go(options: { [name: string]: any; }): Promise<void>; /** * Retrieves a list of files that math a glob * @param searchPath Full path to search * @param extension Glob expression */ private findByExtension; /** * Execute ncc over a selected file to bundle it * @param SourceDirectory Directory where the file is * @param sourceFile name of the file to bundle * @param destinationDirectory Destination where to save the result * @param destinationFile Name of the final bundled file */ private packPackage; /** * Sleep for a moment before continuing to the next instruction * @param ms Number of milliseconds to sleep */ private sleep; /** * Treat addons entry. To validate, download, unzip and reajust addons location. * @param addons Addons location * @param source Where is the source location * @param configuration Configurations parsed from the packConfig */ private processAddOns; }