Feature Proposal
Add webpack@^5.0.0 as a valid peer dependency for webpack-dev-middleware@^3.7.2
Feature Use Case
webpack-dev-middleware started to support webpack@5 from v3.7.2. Actually, the peerDependencies in package.json of v3.7.2 only contains webpack@^4.0.0.
webpack-dev-middleware@^3.7.2 is the dependency of webpack-dev-server@3.11.0. If webpack@5 and webpack-dev-server@3.11.0 are used at the same time, a warning message will be thrown when installing the dependencies:
warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has incorrect peer dependency "webpack@^4.0.0".
Feature Proposal
Add
webpack@^5.0.0as a valid peer dependency forwebpack-dev-middleware@^3.7.2Feature Use Case
webpack-dev-middlewarestarted to supportwebpack@5from v3.7.2. Actually, thepeerDependenciesin package.json ofv3.7.2only containswebpack@^4.0.0.webpack-dev-middleware@^3.7.2is the dependency ofwebpack-dev-server@3.11.0. Ifwebpack@5andwebpack-dev-server@3.11.0are used at the same time, a warning message will be thrown when installing the dependencies: