[webkit-dev] Request for position on import maps

Domenic Denicola d at domenic.me
Tue Oct 27 14:23:21 PDT 2020


Hello webkit-dev,

For the last couple of years myself some other Chrome folks have been working on the import maps proposal. This allows controlling the behavior of JavaScript import statements and import() expressions, in particular by allowing the page to customize the translation of the module specifiers used there into URLs. Developer reception of the feature has been very positive, with continual prompting for when it'll be widely available in more browsers, and a plethora of community-created tools and polyfills.

Chrome is working toward shipping this in an imminent release, and we'd love any thoughts or contributions from the WebKit community.

Relevant links:

* Explainer: https://github.com/WICG/import-maps/blob/master/README.md

* Spec (would eventually merge into HTML upon multi-implementer interest): https://wicg.github.io/import-maps/

* Test suite: https://github.com/web-platform-tests/wpt/tree/master/import-maps/ (although getting rearranged a good bit in https://github.com/web-platform-tests/wpt/pull/26239 )

* Mozilla standards position discussion, with lots of web developers contributing: https://github.com/mozilla/standards-positions/issues/146

* Some gathered evidence of developer interest: https://github.com/WICG/import-maps#community-polyfills-and-tooling

Thanks for your time!
-Domenic


More information about the webkit-dev mailing list