Skip to content

Support express 5 with webpack-dev-server #5395

Closed
@RobinBorresen

Description

@RobinBorresen

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions