## API Report File for "@angular-devkit/build-webpack"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { BuilderContext } from '@angular-devkit/architect';
import { BuilderOutput } from '@angular-devkit/architect';
import { Observable } from 'rxjs';
import webpack from 'webpack';
import WebpackDevServer from 'webpack-dev-server';

// @public (undocumented)
export type BuildResult = BuilderOutput & {
    emittedFiles?: EmittedFiles[];
    webpackStats?: webpack.StatsCompilation;
    outputPath: string;
};

// @public (undocumented)
export type DevServerBuildOutput = BuildResult & {
    port: number;
    family: string;
    address: string;
};

// @public (undocumented)
export interface EmittedFiles {
    // (undocumented)
    asset?: boolean;
    // (undocumented)
    extension: string;
    // (undocumented)
    file: string;
    // (undocumented)
    id?: string;
    // (undocumented)
    initial: boolean;
    // (undocumented)
    name?: string;
}

// @public (undocumented)
export function runWebpack(config: webpack.Configuration, context: BuilderContext, options?: {
    logging?: WebpackLoggingCallback;
    webpackFactory?: WebpackFactory;
    shouldProvideStats?: boolean;
}): Observable<BuildResult>;

// @public (undocumented)
export function runWebpackDevServer(config: webpack.Configuration, context: BuilderContext, options?: {
    devServerConfig?: WebpackDevServer.Configuration;
    logging?: WebpackLoggingCallback;
    webpackFactory?: WebpackFactory;
    webpackDevServerFactory?: WebpackDevServerFactory;
}): Observable<DevServerBuildOutput>;

// @public (undocumented)
export type WebpackBuilderSchema = Schema;

// @public (undocumented)
export type WebpackDevServerFactory = typeof WebpackDevServer;

// @public (undocumented)
export interface WebpackFactory {
    // (undocumented)
    (config: webpack.Configuration): Observable<webpack.Compiler> | webpack.Compiler;
}

// @public (undocumented)
export interface WebpackLoggingCallback {
    // (undocumented)
    (stats: webpack.Stats, config: webpack.Configuration): void;
}

// (No @packageDocumentation comment for this package)

```
