Now that #19283 is fixed, this can be worked around by wrapping entry with a virtual module, but I suspect there's still minor resolution issue around module runner and fetchModule.