Hello!
I'm sorry ahead if this is not your area of responsibility, but vite's one. However, I noticed a strange behaviour with imports and found this MR that removes _hW export embedding. I assume that these things could be connected and lead to the following bug.
What I'm trying to do is to share dependencies via an external option in vite config. In my codebase there is an importmap script which specifies the urls to resolve qwik and other possible shared packages - https://github.com/sashkashishka/qwik-containers/blob/bug-external-dep/host/src/root.tsx#L25-L31.
When I build a prod bundle and run it via showcase command, this results in an error (see the screenshot). Thus, all the interactibity doesn't work at all.
But at the same time, when I'm not marking qwik as external dep, everything works fine. What I noticed in output files is the single qwik import definition without sharing, and two imports of qwik with sharing (see the video). Perhaps it is connected with this MR?
If this should be filed as a github issue, just let me know and I’ll carry it out and we will continue there