web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
9.85k stars 569 forks source link

HMR uses random runtime to compute updated modules #5723

Open JSerFeng opened 8 months ago

JSerFeng commented 8 months ago

When rebuild, Rspack uses CodegenResults::get_one() to get one module codegen_result by choosing an random runtime

So if runtime changes, the updated modules may not correct

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

hardfist commented 3 months ago

bump

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

JSerFeng commented 1 month ago

bump