WICG/import-maps

jsonc with import maps

Yaikava opened this issue · 3 comments

It would be nice to allow usage of .jsonc files for import maps so we can have comments in them.

I can see it being usefull in Deno for example.
denoland/deno#12993 (comment)

Is there a facility in the browser to serialize and unserialize that format?

Is there a facility in the browser to serialize and unserialize that format?

I have no idea about these stuff. Sorry

This is best done by compiling your JSONC into JSON.