Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple import maps #1058

Open
yoavweiss opened this issue Aug 9, 2024 · 1 comment
Open

Multiple import maps #1058

yoavweiss opened this issue Aug 9, 2024 · 1 comment

Comments

@yoavweiss
Copy link

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.

@smaug----
Copy link
Collaborator

smaug---- commented Aug 9, 2024

@jonco3 @codehag

@yoavweiss yoavweiss changed the title Dynamic import maps Multiple import maps Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Unscreened
Development

No branches or pull requests

2 participants