We should refactor how things are handled. https://github.com/rolldown/rolldown/pull/7348#issue-3698877793 - [x] add tests that ensures that the states are updated properly for the following changes: - [x] when a import is removed - [x] when a file is deleted - [ ] the state does not hold the removed modules (https://github.com/rolldown/rolldown/pull/5932#issuecomment-3632744609)
We should refactor how things are handled.
#7348 (comment)