RESOLVED FIXED 279025
Support multiple import maps
https://bugs.webkit.org/show_bug.cgi?id=279025
Summary Support multiple import maps
Yoav Weiss
Reported 2024-09-02 10:15:24 PDT
Import maps currently have to load before any ES module and there can only be a single import map per document. That makes them fragile and potentially slow to use in real-life scenarios: Any module that loads before them breaks the entire app, and in apps with many modules the become a large blocking resource, as the entire map for all possible modules needs to load first. There's a proposal[1] to enable multiple import maps per document, by merging them in a consistent and deterministic way. WebKit standard position - https://github.com/WebKit/standards-positions/issues/381 [1] https://github.com/whatwg/html/pull/10528
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-09 10:16:49 PDT
Yoav Weiss
Comment 2 2024-12-06 03:51:36 PST
EWS
Comment 3 2024-12-06 07:51:03 PST
Committed 287450@main (6d04bab3553f): <https://commits.webkit.org/287450@main> Reviewed commits have been landed. Closing PR #37540 and removing active labels.
Yoav Weiss
Comment 4 2024-12-09 05:30:13 PST
I probably mislabeled the relevant PR. It is related, but doesn't solve this.
Yoav Weiss
Comment 5 2024-12-12 23:36:47 PST
EWS
Comment 6 2025-01-01 21:17:16 PST
Committed 288358@main (c363df60bf58): <https://commits.webkit.org/288358@main> Reviewed commits have been landed. Closing PR #37896 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.