@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20250223121731 to 0.0.0-next-20250223132729
@@ -129,8 +129,7 @@ '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(2).join(separator) | ||
devVersionOrUrl || strSplit.slice(-1)[0] | ||
]; | ||
name = strSplit.slice(0, -1).join(separator); | ||
} | ||
@@ -137,0 +136,0 @@ let versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator); |
@@ -91,9 +91,2 @@ import type webpack from 'webpack'; | ||
} | ||
interface RemoteTypeUrl { | ||
api: string; | ||
zip: string; | ||
} | ||
export interface RemoteTypeUrls { | ||
[remoteName: string]: RemoteTypeUrl; | ||
} | ||
export interface DtsHostOptions { | ||
@@ -107,3 +100,2 @@ typesFolder?: string; | ||
runtimePkgs?: string[]; | ||
remoteTypeUrls?: (() => Promise<RemoteTypeUrls>) | RemoteTypeUrls; | ||
} | ||
@@ -378,2 +370,1 @@ export interface DtsRemoteOptions { | ||
} | ||
export {}; |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20250223121731", | ||
"version": "0.0.0-next-20250223132729", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
Sorry, the diff of this file is not supported yet
104713
2643