14:42
<Jack Works>
Everyone agrees that virtual import hooks are not serializable.
but if you want, it can return a Module Instance that contains a native source, I believe it can be serializable.
14:44
<Jack Works>
Dan, Shu, and I are still arguing about how import maps get coordinated between workers, but our motives appear to be similar. Shu and I agree that the serialization of a module instance should not close over the import-map. Dan and I agree that relying on an HTTP header to indicate the import map is not sufficient either. So, something will have to give.
since in most cases, devs will use the same import map in a worker and the main page, it will be simpler to drop the import map and use the host resolution
23:17
<littledan>
since in most cases, devs will use the same import map in a worker and the main page, it will be simpler to drop the import map and use the host resolution
Well, if we can get the host to apply the right import map, that'd be great. So far, Chrome expressed skepticism about that, for reasons I don't really understand, at https://github.com/WICG/import-maps/issues/2#issuecomment-415073206