{"library":"webpack-hot-server-middleware","type":"library","category":null,"description":"webpack-hot-server-middleware is a utility designed to provide hot module replacement (HMR) capabilities for server-side Webpack bundles, specifically within universal or isomorphic JavaScript applications. It integrates seamlessly with `webpack-dev-middleware` and optionally `webpack-hot-middleware` to ensure that server bundles are always updated with the latest compilation changes during development, eliminating the need for manual server restarts. The package, currently at version 0.6.1, addresses a common pain point in development workflows where client bundles benefit from HMR but server bundles do not. It achieves this by replacing the entire server bundle in memory, leveraging the stateless nature of typical Express-style middleware. Key differentiators include its ability to share the same Webpack cache between client and server builds for faster compilation and its reliance on in-memory bundles to avoid disk I/O. Development appears to be in maintenance mode, with the last significant update occurring several years ago (February 2020), meaning its primary functionality is stable but new features or active modern Webpack compatibility updates are unlikely.","language":"javascript","status":"maintenance","version":"0.6.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-hot-server-middleware","imports":["import webpackHotServerMiddleware from 'webpack-hot-server-middleware';","const webpackHotServerMiddleware = require('webpack-hot-server-middleware');","import type WebpackHotServerMiddleware from 'webpack-hot-server-middleware';"]},{"cmd":"yarn add webpack-hot-server-middleware","imports":[]},{"cmd":"pnpm add webpack-hot-server-middleware","imports":[]}],"homepage":null,"github":"https://github.com/60frames/webpack-hot-server-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-hot-server-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-hot-server-middleware/compatibility"}}