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
/// <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, @types/webpack
Credits
These definitions were written by Ian Clanton-Thuon, and Benjamin Lim.