Provide management/mechanism for JS/ES6 importmap

Created on 5 January 2023, about 2 years ago
Updated 7 November 2023, about 1 year ago

Javascript is not going away. Especially recent ES6-JS-modules are here to stay.

To easen working with those, the importmap tag was introduced. See:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/im...

It's now supported by Chrome & FF, Safari is coming. See: https://caniuse.com/?search=importmap

Fallback is available: https://github.com/guybedford/es-module-shims

Important caveat: Spec only allows _one_ importmap being present on the page. So all modules & core need to arrange with each other to provide a single source of truth here, similar to JS drupalSettings.

Feature request
Status

Closed: duplicate

Version

11.0 🔥

Component
Javascript 

Last updated about 5 hours ago

Created by

🇩🇪Germany christianadamski Berlin, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024