This prevents an error such as the following when trying to run a js_binary defined in another module with Bzlmod:
ERROR: .../external/rules_pyright~/BUILD:6:23: no such package '@@[unknown repo 'rules_pyright~' requested from @@rules_pyright~]//': The repository '@@[unknown repo 'rules_pyright~' requested from @@rules_pyright~]' could not be resolved: No repository visible as '@rules_pyright~' from repository '@@rules_pyright~' and referenced by '@@rules_pyright~//:pyright__entry_point'
Changes are visible to end-users: yes
Searched for relevant documentation and updated as needed: yes
Breaking change (forces users to change their own code or config): no
Suggested release notes appear below: yes
Fixed an issue when using js_binary from another module with Bzlmod.
This prevents an error such as the following when trying to run a
js_binary
defined in another module with Bzlmod:Changes are visible to end-users: yes
Fixed an issue when using
js_binary
from another module with Bzlmod.Test plan