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
I was testing Deskulpt on a Ubuntu20 virtual machine, and I find that importmap is unsupported by the version of webview I am using. I think we should directly replace @deskult-test/xxx with relative path, instead of relying on importmap to resolve named import. We are already doing this with @deskulpt-test/apis, which is replaced with a blob url, we might as well do it for all default dependencies.
I think we could create a hash map that maps named imports of default dependencies to the corresponding relative path. For example,
I was testing Deskulpt on a Ubuntu20 virtual machine, and I find that importmap is unsupported by the version of webview I am using. I think we should directly replace
@deskult-test/xxx
with relative path, instead of relying on importmap to resolve named import. We are already doing this with@deskulpt-test/apis
, which is replaced with a blob url, we might as well do it for all default dependencies.I think we could create a hash map that maps named imports of default dependencies to the corresponding relative path. For example,
Based on whether we are building or developing, we can load different maps (what
importmapPlugin
does currently).The text was updated successfully, but these errors were encountered: