UNPKG

sdin

Version:

JavaScript package builder.

9 lines (8 loc) 416 B
import { Stats, Compiler } from 'webpack'; import { RuntimeError } from "../utils/errors"; export declare class WebpackError extends RuntimeError { /** Webpack 编译出错 */ static readonly WEBPACK_COMPILE_ERROR = 110201; } export declare function compile(compiler: Compiler): Promise<Stats | undefined>; export declare function showStats(stats?: Stats, success?: (showDetails: () => void) => void): void;