Skip to content

Add support for multiple import maps #25450

@yoavweiss

Description

@yoavweiss

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 an HTML PR proposal to enable multiple import maps per document, by merging them in a consistent and deterministic way.

I'd appreciate y'all's opinions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questiona question about the use of Deno

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions