A wrapper around webpack-dev-middleware that adds a lazy LRU cache for webpack entrypoints. When using webpack configurations with many entrypoints, it avoids building unused modules by only building entrypoints on demand. Supports preloading initial entries, mapping requests to entrypoint names, and lifecycle hooks. Current stable version is v0.1.0, released in 2017. It is in maintenance mode with no recent updates. It is intended for development use with Express/Connect-like servers.
npm install webpack-lru-middlewareVerified import paths — ran on the pinned version, not inferred.
Sets up webpack-lru-middleware with a webpack config, creating a lazy LRU cache for entrypoints.
Use alternative webpack-dev-middleware caching or maintain a fork.
Consider using webpack's built-in persistent caching or a more recent middleware.
Run 'npm install webpack-lru-middleware --save-dev' and ensure the import path is correct.