mochapack
Version:
mocha cli with webpack support
12 lines (11 loc) • 351 B
TypeScript
import { Compiler } from 'webpack';
export type WatchCompiler = {
watch: () => void;
pause: () => void;
getWatchOptions: () => {
aggregateTimeout: number;
ignored?: RegExp | string;
poll?: number | boolean;
};
};
export default function createWatchCompiler(compiler: Compiler, watchOptions: {}): WatchCompiler;