-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
Request for Mozilla Position on an Emerging Web Specification
- Specification title: Dynamic import maps
- Specification or proposal URL (if available): Multiple import maps whatwg/html#10528
- Explainer URL (if available): Multiple import maps whatwg/html#10528 (comment)
- Proposal author(s) (
@-mention GitHub accounts): @yoavweiss - Caniuse.com URL (optional):
- Bugzilla URL (optional): https://bugzilla.mozilla.org/show_bug.cgi?id=1916277
- Mozillians who can provide input (optional): @smaug---- @zcorpan
- WebKit standards-position: Multiple Import Maps WebKit/standards-positions#381
Other information
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.
z-x, Slashek, godot, nearme-bot, fklosowski and 9 more
Metadata
Metadata
Assignees
Type
Projects
Status
Position is proposed