Skip to content

[Bug]: regression, id filter normalization for windows is not working #4609

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

  1. Open https://stackblitz.com/edit/github-2tr7r38s-uq41fgui?file=rolldown.config.mjs
  2. pnpm i runs automatically
  3. pnpm run build runs automatically
  4. id /home/projects/github-2tr7r38s-uq41fgui/src/entry.js is output on stackblitz
  5. Download it and run the steps above
  6. id C:\\path\\to\\src\\entry.js is not output on Windows

What is expected?

id C:\\path\\to\\src\\entry.js is output on Windows

What is actually happening?

id C:\\path\\to\\src\\entry.js is not output on Windows

System Info

StackBlitz
  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @rolldown/browser:  1.0.0-beta.8-commit.360c072

Windows
  System:
    OS: Windows 11 10.0.26100
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 10.66 GB / 31.92 GB
  Binaries:
    Node: 22.15.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.10.0 - C:\Program Files\nodejs\pnpm.CMD
    bun: 1.2.13 - ~\AppData\Local\Microsoft\WinGet\Links\bun.EXE
  Browsers:
    Edge: Chromium (136.0.3240.50)
    Internet Explorer: 11.0.26100.1882
  npmPackages:
    rolldown: 1.0.0-beta.8-commit.360c072 => 1.0.0-beta.8-commit.360c072

Any additional comments?

The feature was introduced in #3955
Maybe regressed when adding the complex filter feature cc @IWANABETHATGUY

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions