Variants: conventional UI thread, conventional worker, ESM in UI thread, ESM worker
//#if target=es6-module //#else //#endif