Skip to content

[Panic]: In virtual modules, all globs must start with '/' #8729

@sapphi-red

Description

@sapphi-red

Panic message

Rolldown panicked. This is a bug in Rolldown, not your code.

thread 'tokio-runtime-worker' (35660) panicked at crates\rolldown_plugin_vite_import_glob\src\utils.rs:426:5:
In virtual modules, all globs must start with '/'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Reproduction

REPL

System Info

1.0.0-rc.9

Additional context

assert!(
!(is_virtual_module && is_relative && options.base.as_ref().is_none()),
"In virtual modules, all globs must start with '/'"
);

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions