@toreda/build-tools
Version:

21 lines (20 loc) • 639 B
TypeScript
/// <reference types="node" />
import type { BuildWebpackOptions } from './webpack/options';
import { EventEmitter } from 'events';
import type { LinterOptions } from '../linter/options';
import { Log } from '@toreda/log';
import type { LogOptionsGlobal } from '@toreda/log';
export interface BuildOptions {
[k: string]: unknown;
events?: EventEmitter;
env?: string;
log?: Log | LogOptionsGlobal;
webpack?: BuildWebpackOptions;
autoMockInJest?: boolean;
profiler?: boolean;
mockAll?: boolean;
mockFileReads?: boolean;
mockFileWrites?: boolean;
debugMode?: boolean;
linter?: LinterOptions;
}