Skip to content

[Bug]: import.meta.hot.accept(deps) panic #4104

@underfin

Description

@underfin

Reproduction link or steps

import.meta.hot.accept('./another-time', () => {})

Add the code to https://github.com/rolldown/rolldown/blob/main/examples/hmr-raw/src/time.js#L4.

Panic log.
thread 'tokio-runtime-worker' panicked at crates/rolldown/src/module_loader/module_task.rs:196:13:
internal error: entered unreachable code

What is expected?

Shouldn't panic

What is actually happening?

panic

System Info

-

Any additional comments?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions