@toreda/build-tools
Version:

14 lines (13 loc) • 529 B
TypeScript
/// <reference types="node" />
import { Config } from './config';
import { EventEmitter } from 'events';
import { Log } from '@toreda/log';
import { WebpackOptions } from './webpack/options';
export declare class Run {
readonly events: EventEmitter;
readonly cfg: Config;
readonly log: Log;
constructor(cfg: Config, events: EventEmitter, log: Log);
webpack(options?: WebpackOptions): Promise<NodeJS.ReadWriteStream>;
typescript(destPath: string, tsConfigPath?: string): Promise<NodeJS.ReadWriteStream>;
}