A middleware plugin for webpack-serve that displays a progress page during webpack compilation, replacing the default blank page with a customizable wait screen. Current stable version is 3.0.0 (supports webpack 5 and Node 18). This package is specific to the legacy webpack-serve (v1/v2), not webpack-dev-server. Alternatives include webpack-dev-server's built-in progress overlay or separate plugins like webpack-dashboard.
npm install webpack-serve-waitpageVerified import paths — ran on the pinned version, not inferred.
Shows how to integrate webpack-serve-waitpage as middleware in a webpack-serve config, with custom theme and disableWhenValid option.
Update usage: remove .middleware() call. See quickstart.
If you rely on the wait page always showing, set disableWhenValid: false explicitly.
Use webpack-dev-server-waitpage for webpack-dev-server.
Upgrade Node.js to v12 or later.
Check webpack-serve compatibility; see migration guides.
Run npm install -D webpack-serve-waitpage
Use const webpackServeWaitpage = require('webpack-serve-waitpage'); and call it directly.Upgrade to v2.1.0 or v3.0.0.