@types/webpack-stream
Version:
TypeScript definitions for webpack-stream
41 lines (31 loc) • 1.3 kB
Markdown
# 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 * as webpack from "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: Tue, 07 Nov 2023 15:11:36 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).