import-map-overrides icon indicating copy to clipboard operation
import-map-overrides copied to clipboard

Better support for packages via trailing slashes

Open internettrans opened this issue 5 years ago • 2 comments

internettrans avatar Jul 07 '20 17:07 internettrans

@joeldenning, could you provide more context on this issue? I would like to understand if it is something I can work on.

robmosca avatar Sep 28 '23 15:09 robmosca

See https://github.com/WICG/import-maps#packages-via-trailing-slashes

When an import map has packages via trailing slashes for each microfrontend or shared dependency, it results in the import-map-overrides UI having two rows that are almost identical. Some users have asked me why that's the case, and it generally is a clunky UX. Usually the user would want the URL to change for both rows at the same time, so perhaps a UX could be designed to condense the two rows into one?

internettrans avatar Oct 11 '23 22:10 internettrans