Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to webpack-dev-server 4.7.0 or later #30141

Closed
MikeMcC399 opened this issue Aug 29, 2024 · 0 comments
Closed

Update to webpack-dev-server 4.7.0 or later #30141

MikeMcC399 opened this issue Aug 29, 2024 · 0 comments
Labels
process: dependencies Related to internal dependencies type: chore Work is required w/ no deliverable to end user

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Aug 29, 2024

What would you like?

  1. Update all uses of the npm module webpack-dev-server to minimum webpack-dev-server@4.7.0, preferably minimum webpack-dev-server@4.15.2.
  2. Remove the direct use of the deprecated npm module @types/webpack-dev-server.

Why is this needed?

The npm module @types/webpack-dev-server is deprecated. webpack-dev-server@4.7.0 introduced types.

  • webpack-dev-server 4.x shows peerDependencies "webpack": "^4.37.0 || ^5.0.0".
  • webpack-dev-server 5.x requires peerDependencies "webpack": "^5.0.0".

Other

Item Value
Deprecated npm module @types/webpack-dev-server
npm registry message This is a stub types definition. webpack-dev-server provides its own type definitions, so you do not need this installed.
Other message
GitHub repo https://github.com/webpack/webpack-dev-server
Repo status Active
Replacement npm module https://www.npmjs.com/package/webpack-dev-server
Replacement repo https://github.com/webpack/webpack-dev-server
Replacement documentation https://github.com/webpack/webpack-dev-server
Migration docs https://github.com/webpack/webpack-dev-server

Where used:

webpack-dev-server is used in 22 different package.json files

"@types/webpack-dev-server": "^4.0.0" is only specified in packages/web-config/package.json used in other workspaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process: dependencies Related to internal dependencies type: chore Work is required w/ no deliverable to end user
Projects
None yet
Development

No branches or pull requests

3 participants