Currently when loading the core module from the ESM worker if coreURL is not specified in the config, the default unpkg UMD path is used instead of the ESM path. Basically _coreURL is always set inside the try so it is never falsey in the catch, therefore the esm replacement never occurs.
I believe this is what #602 was attempting to fix as well, this is a bit simpler fix.
Currently when loading the core module from the ESM worker if
coreURL
is not specified in the config, the default unpkg UMD path is used instead of the ESM path. Basically_coreURL
is always set inside thetry
so it is never falsey in thecatch
, therefore theesm
replacement never occurs.I believe this is what #602 was attempting to fix as well, this is a bit simpler fix.