Skip to content

[Bug]: bundlerInfo.force: true take no effect #11126

@colinaaa

Description

@colinaaa

System Info

System:
OS: macOS 26.0
CPU: (12) arm64 Apple M2 Max
Memory: 1.11 GB / 96.00 GB
Shell: 4.0.2 - /opt/homebrew/bin/fish
Binaries:
Node: 22.15.1 - ~/.local/state/fnm_multishells/80798_1752494577377/bin/node
npm: 10.9.2 - ~/.local/state/fnm_multishells/80798_1752494577377/bin/npm
pnpm: 9.15.2 - ~/.local/state/fnm_multishells/80798_1752494577377/bin/pnpm
bun: 1.2.8 - ~/.bun/bin/bun
Browsers:
Chrome: 138.0.7204.158
Safari: 26.0
npmPackages:
@rspack/cli: ^1.4.8 => 1.4.8
@rspack/core: ^1.4.8 => 1.4.8

Details

When using compilation.hooks.additionalTreeRuntimeRequirements.tap with experiments.rspackFuture.bundlerInfo, the output does not contain __webpack_require__.ruid.

Reproduce link

https://github.com/colinaaa-reproductions/rspack-repro-bundler-info

Reproduce Steps

  1. pnpm install
  2. npm run build:rspack

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions