-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
JSR ignores local file entries in import map, making it impossible to publish WASM module with overridden import.
The minimal example can be found in Deno docs - Overriding import specifiers.
;; toolkit.wat (module (import "env" "get_time_in_seconds" (func $get_time (result i32))) (func (export "getValue") (result i32) call $get_time ) )
When such module is published, JSR fails with following error message: https://jsr.io/status/93bb4d40-f43b-4030-be65-45344621a8da
graphError
failed to build module graph: Relative import path "env" not prefixed with / or ./ or ../ at file:///build/release.wasm:1:51
Related issue: denoland/deno#30879
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Needs Triage