# Installation
> `npm install --save @types/webpack-stream`

# Summary
This package contains type definitions for webpack-stream (https://github.com/shama/webpack-stream).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-stream.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-stream/index.d.ts)
````ts
/// <reference types="node" />

import webpack = require("webpack");

export = webpackStream;

/**
 * Run webpack with the specified configuration and webpack instance
 *
 * @param config - Webpack configuration
 * @param wp - A webpack object
 * @param callback - A callback with the webpack stats and error objects.
 */
declare function webpackStream(
    config?: webpack.Configuration,
    wp?: typeof webpack,
    callback?: webpack.Compiler.Handler,
): NodeJS.ReadWriteStream;

declare namespace webpackStream {
}

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/webpack](https://npmjs.com/package/@types/webpack)

# Credits
These definitions were written by [Ian Clanton-Thuon](https://github.com/iclanton), and [Benjamin Lim](https://github.com/bumbleblym).
