UNPKG

886 BTypeScriptView Raw
1import { Configuration } from '../configuration';
2import { AssetsManager } from './assets-manager';
3import { PluginsLoader } from './plugins-loader';
4import { Input } from '../../commands';
5import webpack = require('webpack');
6type WebpackConfigFactory = (config: webpack.Configuration, webpackRef: typeof webpack) => webpack.Configuration;
7type WebpackConfigFactoryOrConfig = WebpackConfigFactory | webpack.Configuration;
8export declare class WebpackCompiler {
9 private readonly pluginsLoader;
10 constructor(pluginsLoader: PluginsLoader);
11 run(configuration: Required<Configuration>, options: Input[], webpackConfigFactoryOrConfig: WebpackConfigFactoryOrConfig | WebpackConfigFactoryOrConfig[], tsConfigPath: string, appName: string, isDebugEnabled: boolean | undefined, watchMode: boolean | undefined, assetsManager: AssetsManager, onSuccess?: () => void): void;
12}
13export {};