WICG / import-maps

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

Default JSON filename for external tooling support. #266

Closed GerryFerdinandus closed 2 years ago

GerryFerdinandus commented 2 years ago

To autocomplete/verify with external tooling, a predefined filename must be used. Example files name: [importmap.json, *-importmap.json]

An issue has been created in SchemaStore requesting this support. (issue 1, 2)

The importmap specifications say nothing about a standard file name. Or is this again the design specification to use a predefined filename?

domenic commented 2 years ago

Indeed, just like every other <script> element on the web (or <link> or <img> or...), you can use any filename/URL you like!