@types/webpack-stream
TypeScript icon, indicating that this package has built-in type declarations

3.2.15 • Public • Published

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

Credits

These definitions were written by Ian Clanton-Thuon, and Benjamin Lim.

/@types/webpack-stream/

    Package Sidebar

    Install

    npm i @types/webpack-stream

    Weekly Downloads

    5,197

    Version

    3.2.15

    License

    MIT

    Unpacked Size

    4 kB

    Total Files

    5

    Last publish

    Collaborators

    • types