revert change

This commit is contained in:
John 2023-10-30 20:21:56 +07:00
parent 8f586b453b
commit e667dd4056

View File

@ -65,11 +65,7 @@ export async function getActive() {
return;
}
// eslint-disable-next-line no-undef
const plgList = await window.pluggableElectronIpc?.getActive() ??
await import(
// eslint-disable-next-line no-undef
/* webpackIgnore: true */ PLUGIN_CATALOG + `?t=${Date.now()}`
).then((data) => data.default.filter((e) => e.supportCloudNative));
const plgList = await window.pluggableElectronIpc?.getActive();
return plgList.map(
(plugin) =>
new Plugin(