UNPKG

webcompiler

Version:

Lint, type-check, compile, package and gzip JavaScript (ES6 + Flow static types + JSX), for the browser as well as NodeJS; lint, compile, auto-prefix, minify and gzip SASS.

17 lines (14 loc) 312 B
/* @flow */ type WebPackStats = { toJson(): { errors: string[]; warnings: string[]; }; }; type WebPackCallback = (error: ?Error, stats: WebPackStats) => void; declare module 'webpack' { declare function exports(config: Object): { run(WebPackCallback): void; outputFileSystem: any; }; }