Skip to content

[Bug]: rspack shows wrong version number (5.75.0 instead of 1.3.7) #10189

@tmadeira

Description

@tmadeira

System Info

  System:
    OS: macOS 15.4.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 91.22 MB / 18.00 GB
    Shell: 4.0.2 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.11.1 - ~/.asdf/installs/nodejs/20.11.1/bin/node
    Yarn: 1.22.22 - ~/.asdf/installs/nodejs/20.11.1/bin/yarn
    npm: 10.2.4 - ~/.asdf/installs/nodejs/20.11.1/bin/npm
  Browsers:
    Chrome: 135.0.7049.115
    Firefox: 136.0.1
    Safari: 18.4
  npmPackages:
    @rspack/cli: ^1.3.7 => 1.3.7
    @rspack/core: ^1.3.7 => 1.3.7

Details

I just upgraded to Rspack 1.3.7.

rspack serve produces:

...
Rspack 5.75.0 compiled successfully in 23.04 s

And rspack build produces:

...
Rspack 5.75.0 compiled with 12 warnings in 34.36 s

Apparently, it's printing webpackVersion rather than version.

Reproduce link

No response

Reproduce Steps

  1. Upgrade to rspack 1.3.7
  2. Run rspack serve or rspack build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions