Repository navigation
Closed
Labels
from: otherProposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.position: supporttopic: htmlSpec relates to HTML (Hypertext Markup Language)topic: javascriptSpec relates to the JavaScript programming languagevenue: WHATWG HTML Workstream
Description
WebKittens
Title of the spec
Dynamic import maps
URL to the spec
URL to the spec's repository
https://github.com/whatwg/html
Issue Tracker URL
No response
Explainer URL
TAG Design Review URL
Mozilla standards-positions issue URL
mozilla/standards-positions#1058
WebKit Bugzilla URL
Radar URL
rdar://135555516
Description
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.
This proposal is to enable multiple import maps per document, by merging them in a consistent and deterministic way.
Reacted by Benny Powers, Mark and Dasa Paddock
Metadata
Metadata
Assignees
Labels
from: otherProposed, edited, or co-edited by an individual or entity that doesn't have a more specific label.position: supporttopic: htmlSpec relates to HTML (Hypertext Markup Language)topic: javascriptSpec relates to the JavaScript programming languagevenue: WHATWG HTML Workstream
Activity
marcoscaceres commentedon Aug 21, 2024
[-]Dynamic Import Maps[/-][+]Multiple Import Maps[/+]yoavweiss commentedon Oct 24, 2024
annevk commentedon Nov 4, 2024
Colleagues and I consider this a reasonable improvement to Import Maps. As such I suggest we mark it "position: supports" one week from now.
Align with HTML and remove support for external importmaps
Align with HTML and remove support for external importmaps
Align with HTML and remove support for external importmaps