You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This limitation is quite inconvenient. To address this, we propose adding a transformation layer that substitutes @std/async with jsr:@std/async@^1.0.0 or any other mappings defined in an import_map.json file located in the parent directories of the Denops plugin.
The transformation layer could be implemented as an HTTP server, similar to deno-localfile-registry. Denops would import plugins via this server, ensuring that the appropriate import_map.json for each plugin is correctly applied.
Currently, import maps cannot be used for Denops plugins because Deno does not support dynamic import maps or multiple import maps.
This limitation is quite inconvenient. To address this, we propose adding a transformation layer that substitutes
@std/async
withjsr:@std/async@^1.0.0
or any other mappings defined in animport_map.json
file located in the parent directories of the Denops plugin.The transformation layer could be implemented as an HTTP server, similar to deno-localfile-registry. Denops would import plugins via this server, ensuring that the appropriate
import_map.json
for each plugin is correctly applied.Additional Context
--import-map
option seems inconsistent fromimports
orimportMap
field indeno.json
denoland/deno#27539The text was updated successfully, but these errors were encountered: