We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc13ee4 commit ab3f2dcCopy full SHA for ab3f2dc
components/componentLoader.ts
@@ -494,7 +494,7 @@ export async function loadComponent(
494
return loadComponentDirectories(); // return the promise
495
});
496
}
497
- if (config.extensionModule || config.pluginModule) {
+ if ((config.extensionModule || config.pluginModule) && (!isMainThread || config.runOnMainThread)) {
498
const extensionModule = await scopedImport(
499
join(componentDirectory, config.extensionModule || config.pluginModule),
500
applicationScope
0 commit comments