Run webpack as a stream to conveniently integrate with gulp. Version 7.0.0 requires webpack ^5.21.2 as a peer dependency and Node >= 10.0.0. Releases follow semver with active development. Key differentiators: simplifies piping webpack builds through gulp streams, supports watch mode with caching, and allows passing webpack config directly or via external config file.
npm install webpack-streamVerified import paths — ran on the pinned version, not inferred.
Basic usage: compile src/entry.js with webpack using an external config and output to dist/.
Upgrade to webpack ^5.21.2 and Node >= 10.
Use gulp.watch or webpack's watch, not both.
Use gulpWebpack({}, webpack, callback) with the imported webpack module.Update webpack to ^5.21.2 and use v7.
Run npm install --save-dev webpack
Use: const webpack = require('webpack-stream') or import webpack from 'webpack-stream'Upgrade webpack to ^5.21.2