WICG / import-maps

How to control the behavior of JavaScript imports
https://html.spec.whatwg.org/multipage/webappapis.html#import-maps
Other
2.66k stars 69 forks source link

Discuss interaction with speculative parsing/fetching #241

Closed domenic closed 3 years ago

domenic commented 3 years ago

Closes #234.

@annevk, is this what you had in mind?

In terms of what it would affect for normative spec text, I think that (as part of moving import maps into HTML) we'd add <script type="importmap"> to the list of elements in https://github.com/whatwg/html/pull/5959 which need special treatment, alongside <base> and <meta name="viewport">.