Skip to content

Multiple import maps #1058

@yoavweiss

Description

@yoavweiss

Request for Mozilla Position on an Emerging Web Specification

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Position is proposed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions