Hacker News new | ask | show | jobs
by sujayakar 1897 days ago
it seems like libraries can't use import maps though, right? the final binary can provide that flag, but is there a way for library dependencies to specify their own import maps? the spec [1] has support for scoping, but I didn't see a way to integrate that with the Deno loader.

[1] https://github.com/WICG/import-maps#scoping-examples

1 comments

Yeah, libraries can't use import maps because import maps are not extensible
It's almost like you need something to manage your packages to generate them.