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

Support express 5 with webpack-dev-server #5395

Open
RobinGulbrandsen opened this issue Jan 9, 2025 · 0 comments
Open

Support express 5 with webpack-dev-server #5395

RobinGulbrandsen opened this issue Jan 9, 2025 · 0 comments

Comments

@RobinGulbrandsen
Copy link

Feature Proposal

Im having problems with upgrading express to v5 combined with webpack and webpack-dev-server.

The issue seems to come from the breaking change in configuration for http-proxy-middleware which now is a peer dependancy that I have to install manually, and webpack-dev-server uses v2.0.7 which has a breaking change in the configuration compared to version 3.

[email protected] also uses [email protected] which creates dependancy conflicts when upgrading.

Feature Use Case

I wish the following dependancies to be compatible

"@types/express": "^5.0.0",
"express": "^5.0.1",
"http-proxy-middleware": "^3.0.3",
"webpack-dev-server": "^5.2.0",

Please paste the results of npx webpack-cli info here, and mention other relevant information

  System:
    OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i9-13900H
    Memory: 47.91 GB / 62.41 GB
  Binaries:
    Node: 20.9.0 - /usr/local/bin/node
    npm: 10.1.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 131.0.6778.85
  Packages:
    css-loader: ^7.1.2 => 7.1.2 
    less-loader: ^12.2.0 => 12.2.0 
    style-loader: ^4.0.0 => 4.0.0 
    ts-loader: ^9.5.1 => 9.5.1 
    url-loader: ^4.1.1 => 4.1.1 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant