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

HTML script element support for type=importmap #18214

Merged
merged 4 commits into from Nov 22, 2022

Conversation

hamishwillee
Copy link
Collaborator

@hamishwillee hamishwillee commented Nov 15, 2022

FF108 adds support for "import maps", a mechanisms for providing a mapping between a module name and its location when you're importing a module. The feature is implemented using an HTML script element that has type="importmap", where the element contains the import map as a JSON definition.

Compat:

Fixes #17701

Other docs work can be tracked in: mdn/content#16150

FYI @queengooborg

@github-actions github-actions bot added the data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label Nov 15, 2022
Copy link
Collaborator

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but let's remove the flag data -- since Firefox 108 is coming out soon, we're going to remove it soon anyways!

html/elements/script.json Outdated Show resolved Hide resolved
@hamishwillee
Copy link
Collaborator Author

Thanks @queengooborg -ready for re-review

@queengooborg queengooborg merged commit b5acb80 into mdn:main Nov 22, 2022
@hamishwillee hamishwillee deleted the script_import_map branch November 22, 2022 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing data for Import Maps
2 participants