Provide management/mechanism for JS/ES6 importmap

Created on 5 January 2023, over 1 year ago
Updated 7 November 2023, 8 months 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 2 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.69.0 2024