{"library":"webpack-dev-middleware","type":"library","category":null,"description":"webpack-dev-middleware is an Express-style development middleware for integrating webpack into a custom Node.js HTTP server environment. It serves the bundles emitted from webpack directly from memory, avoiding disk I/O during development, which significantly speeds up development workflows. The current stable version is 8.0.3, with minor and patch releases occurring frequently as new features are added and bugs are fixed, often driven by updates to webpack itself or compatibility with alternative bundlers like Rspack. Its key differentiators include in-memory file handling, delaying requests until compilation is complete, and robust support for Hot Module Replacement (HMR). This middleware is strictly for development environments and should not be used in production.","language":"javascript","status":"active","version":"8.0.3","tags":["javascript","webpack","middleware","development","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-dev-middleware","imports":["import middleware from 'webpack-dev-middleware';","import webpack from 'webpack';","import express from 'express';\nconst app = express();"]},{"cmd":"yarn add webpack-dev-middleware","imports":[]},{"cmd":"pnpm add webpack-dev-middleware","imports":[]}],"homepage":null,"github":"https://github.com/webpack/webpack-dev-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-dev-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webpack-dev-middleware/compatibility"}}