Skip to content

Multiple import maps #980

@yoavweiss

Description

@yoavweiss

こんにちは TAG-さん!

I'm requesting a TAG review of multple import maps (née "dynamic import maps").

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.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: Hoping to ship by EoY
  • The group where the work on this specification is currently being done: HTML
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): HTML
  • Major unresolved issues with or opposition to this specification: None AFAIK
  • This work is being funded by: Shopify

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions