Do not edit this file. It is a report generated by API Extractor.
import type { AsyncParallelHook } from 'tapable';
import type { AsyncSeriesBailHook } from 'tapable';
import type { AsyncSeriesHook } from 'tapable';
import type { Configuration } from 'webpack-dev-server';
import type { HeftConfiguration } from '@rushstack/heft';
import type { IHeftTaskSession } from '@rushstack/heft';
import type * as TWebpack from 'webpack';
// @public (undocumented)
export type IWebpackConfiguration = IWebpackConfigurationWithDevServer | IWebpackConfigurationWithDevServer[];
// @public
export interface IWebpackConfigurationFnEnvironment {
heftConfiguration: HeftConfiguration;
prod: boolean;
production: boolean;
taskSession: IHeftTaskSession;
webpack: typeof TWebpack;
}
// @public (undocumented)
export interface IWebpackConfigurationWithDevServer extends TWebpack.Configuration {
// (undocumented)
devServer?: Configuration;
}
// @public (undocumented)
export interface IWebpackPluginAccessor {
readonly hooks: IWebpackPluginAccessorHooks;
readonly parameters: IWebpackPluginAccessorParameters;
}
// @public (undocumented)
export interface IWebpackPluginAccessorHooks {
readonly onAfterConfigure: AsyncParallelHook<IWebpackConfiguration, never, never>;
readonly onConfigure: AsyncSeriesHook<IWebpackConfiguration, never, never>;
readonly onEmitStats: AsyncParallelHook<TWebpack.Stats | TWebpack.compilation.MultiStats, never, never>;
readonly onLoadConfiguration: AsyncSeriesBailHook<never, never, never, IWebpackConfiguration | false>;
}
// @public (undocumented)
export interface IWebpackPluginAccessorParameters {
readonly isServeMode: boolean;
}
// @public (undocumented)
export const PluginName: 'webpack4-plugin';
// @public
export const STAGE_LOAD_LOCAL_CONFIG: 1000;
// (No @packageDocumentation comment for this package)