ft_transcendence/pong/node_modules/@nestjs/cli/lib/compiler/webpack-compiler.d.ts
2023-05-02 19:15:50 +02:00

13 lines
828 B
TypeScript

import { Configuration } from '../configuration';
import { AssetsManager } from './assets-manager';
import { PluginsLoader } from './plugins-loader';
import webpack = require('webpack');
type WebpackConfigFactory = (config: webpack.Configuration, webpackRef: typeof webpack) => webpack.Configuration;
type WebpackConfigFactoryOrConfig = WebpackConfigFactory | webpack.Configuration;
export declare class WebpackCompiler {
private readonly pluginsLoader;
constructor(pluginsLoader: PluginsLoader);
run(configuration: Required<Configuration>, webpackConfigFactoryOrConfig: WebpackConfigFactoryOrConfig | WebpackConfigFactoryOrConfig[], tsConfigPath: string, appName: string, isDebugEnabled: boolean | undefined, watchMode: boolean | undefined, assetsManager: AssetsManager, onSuccess?: () => void): void;
}
export {};