@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20250221090527 to 0.0.0-next-20250221091229
@@ -129,7 +129,8 @@ 'use strict'; | ||
let [name, ...versionOrEntryArr] = strSplit; | ||
// @name@manifest-url.json | ||
if (str.startsWith(separator)) { | ||
name = strSplit.slice(0, 2).join(separator); | ||
versionOrEntryArr = [ | ||
devVersionOrUrl || strSplit.slice(-1)[0] | ||
devVersionOrUrl || strSplit.slice(2).join(separator) | ||
]; | ||
name = strSplit.slice(0, -1).join(separator); | ||
} | ||
@@ -136,0 +137,0 @@ let versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator); |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20250221090527", | ||
"version": "0.0.0-next-20250221091229", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
Sorry, the diff of this file is not supported yet
104805
2645