UNPKG

electron-webpack

Version:

> Because setting up `webpack` in the `electron` environment shouldn't be difficult.

16 lines (15 loc) 586 B
/// <reference types="node" /> /// <reference types="webpack" /> import { Stats } from "fs-extra-p"; import { Compiler } from "webpack"; export declare const MAX_FILE_REQUESTS = 8; export declare const CONCURRENCY: { concurrency: number; }; export declare function walk(initialDirPath: string, filter?: Filter | null): Promise<Array<string>>; export declare type Filter = (file: string, stat: Stats) => boolean; export declare class WebpackRemoveOldAssetsPlugin { private readonly dllManifest; constructor(dllManifest: string | null); apply(compiler: Compiler): void; }