From e67ffec77cbf5ae9de75d532be0062444486790b Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Fri, 11 Oct 2024 18:12:31 +0330 Subject: [PATCH] fix(global-scope): prevent duplicate global scope module throw, just log error --- packages/global-scope/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/global-scope/src/main.ts b/packages/global-scope/src/main.ts index a5274444..30f4bebf 100644 --- a/packages/global-scope/src/main.ts +++ b/packages/global-scope/src/main.ts @@ -51,6 +51,6 @@ if (globalScope.__shared_scope_defined__ !== undefined) { newVersion: __package_version__ }, })); - throw new Error('global_scope_module_duplicated'); + // throw new Error('global_scope_module_duplicated'); } globalScope.__shared_scope_defined__ = __package_version__;