3 ms·
So, any progress on being able to bundle native modules and have them import properly into inline script tags? Right now if you want bundling you have to give
by kmeisthax 4y ago
So, any progress on being able to bundle native modules and have them import properly into inline script tags?
Right now if you want bundling you have to give up native modules, because the only way to get a browser to register a native module is by making a separate HTTP request for that module.
The closest I could think of to doing this would be an importmap with a data URI per module, but I've no idea if you can load importmaps as separate files or if they have to be inlined. If they have to be inlined that defeats the purpose.