Post

Really wishing that somebody would hire my company (@igalia.com) to standardize/implement support for import maps in web workers. I already have a draft spec PR ready and there is interest from the community, which company wants to be the hero funding pushing it forward? :)

github.comSupport import maps in workers by nicolo-ribaudo · Pull Request #10858 · whatwg/htmlThis patch started as a conversation with @guybedford. I tried writing some spec for one of the potential approaches discussed in WICG/import-maps#2. This PR is not actually ready as I have not fin...

16 reposts45 likes

This can significantly simplify your code if you currently use or plan to use workers, as it allows re-using the same imports structure across the main thread and workers. It would also allow import-map-based sub resource integrity to function in workers, improving your website's security.

If your company is interested and you and your colleagues would benefit from this feature, DM me or find my email on my website (linked in my profile) :)