Skip to content

[Bug]: lazyConmpilation doesn't work with changing dynamic entries #12444

@stormslowly

Description

@stormslowly

System Info

System:
OS: macOS 15.6.1
CPU: (12) arm64 Apple M3 Pro
Memory: 101.41 MB / 36.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 22.20.0 - /Users/bytedance/.nvm/versions/node/v22.20.0/bin/node
npm: 10.9.3 - /Users/bytedance/.nvm/versions/node/v22.20.0/bin/npm
pnpm: 10.24.0 - /Users/bytedance/.nvm/versions/node/v22.20.0/bin/pnpm
Browsers:
Chrome: 143.0.7499.42
Safari: 18.6

Details

LazyCompilation doesn't working properly when dynamic entries changed.

Reproduce link

No response

Reproduce Steps

case https://github.com/web-infra-dev/rspack/blob/2c28bcf00d106808016170e5e4d6bb59c2aba1ec/tests/e2e/cases/make/remove-dynamic-entry/index.test.ts failed when entries: true enabled

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingteamThe issue/pr is created by the member of Rspack.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions