@module-federation/sdk 0.0.0-next-20250318071756 → 0.0.0-next-20250321011937
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.mjs +1 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -669,6 +669,7 @@ function createScriptNode(url, cb, attrs, loaderHook) {
|
|
|
669
669
|
importModuleDynamically: (_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER = (_vm_constants = vm.constants) == null ? void 0 : _vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER) != null ? _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER : importNodeModule
|
|
670
670
|
});
|
|
671
671
|
script.runInThisContext()(scriptContext.exports, scriptContext.module, eval('require'), urlDirname, filename);
|
|
672
|
+
console.log(scriptContext);
|
|
672
673
|
const exportedInterface = scriptContext.module.exports || scriptContext.exports;
|
|
673
674
|
if (attrs && exportedInterface && attrs['globalName']) {
|
|
674
675
|
const container = exportedInterface[attrs['globalName']] || exportedInterface;
|
package/dist/index.esm.mjs
CHANGED
|
@@ -667,6 +667,7 @@ function createScriptNode(url, cb, attrs, loaderHook) {
|
|
|
667
667
|
importModuleDynamically: (_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER = (_vm_constants = vm.constants) == null ? void 0 : _vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER) != null ? _vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER : importNodeModule
|
|
668
668
|
});
|
|
669
669
|
script.runInThisContext()(scriptContext.exports, scriptContext.module, eval('require'), urlDirname, filename);
|
|
670
|
+
console.log(scriptContext);
|
|
670
671
|
const exportedInterface = scriptContext.module.exports || scriptContext.exports;
|
|
671
672
|
if (attrs && exportedInterface && attrs['globalName']) {
|
|
672
673
|
const container = exportedInterface[attrs['globalName']] || exportedInterface;
|