@module-federation/vite 1.23.10 → 1.23.11
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/lib/{logger-Ckj1FMRH.js → codeRewriter-BT69vMj_.js} +160 -150
- package/lib/{dtsConstants-DIcz34LN.js → dtsConstants-CBr13mKq.js} +2 -2
- package/lib/index.js +3444 -3434
- package/lib/{pluginDts-CSCuhD4x.js → pluginDts-TmqEfsoE.js} +2 -2
- package/lib/{sharedKeyMatcher-B5VKsEVQ.js → sharedKeyMatcher-BjGe96M5.js} +1 -1
- package/lib/{ssrEntryLoader--NkahIOF.js → ssrEntryLoader-CBfSzuuC.js} +2 -2
- package/lib/{ssrVmStrategy-uJaUmHLS.js → ssrVmStrategy-Ci-N_XW3.js} +3 -3
- package/lib/utils/ssrEntryLoader.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as resolveImportPath, m as hasPackageDependency, r as watchFileEvents } from "./dtsConstants-
|
|
1
|
+
import { a as mfError, f as isHttpUrl, i as createModuleFederationError, p as normalizePathForImport } from "./codeRewriter-BT69vMj_.js";
|
|
2
|
+
import { b as resolveImportPath, m as hasPackageDependency, r as watchFileEvents } from "./dtsConstants-CBr13mKq.js";
|
|
3
3
|
import fs from "fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
import { normalizeOptions } from "@module-federation/sdk";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as isHttpUrl, o as mfWarn, r as createCodePositionMap, s as EXTERNAL_URL_RE, t as CodeRewriter, u as decodeViteId } from "./codeRewriter-BT69vMj_.js";
|
|
2
2
|
import { simpleJoinRemoteEntry } from "@module-federation/sdk";
|
|
3
3
|
//#region src/utils/fetchWithTimeout.ts
|
|
4
4
|
const DEFAULT_SSR_FETCH_TIMEOUT_MS = 1e4;
|
|
@@ -922,7 +922,7 @@ async function importTempModule(filePath, versionKey) {
|
|
|
922
922
|
}
|
|
923
923
|
let warnedVmUnavailable = false;
|
|
924
924
|
function getVmStrategyModule() {
|
|
925
|
-
if (!loaderState.vmStrategyModulePromise) loaderState.vmStrategyModulePromise = import("./ssrVmStrategy-
|
|
925
|
+
if (!loaderState.vmStrategyModulePromise) loaderState.vmStrategyModulePromise = import("./ssrVmStrategy-Ci-N_XW3.js");
|
|
926
926
|
return loaderState.vmStrategyModulePromise;
|
|
927
927
|
}
|
|
928
928
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as isHttpUrl, s as EXTERNAL_URL_RE } from "./
|
|
2
|
-
import { t as findSharedKey } from "./sharedKeyMatcher-
|
|
3
|
-
import { d as readResponseTextBounded, i as resolveSharedPath, l as fetchWithTimeout, n as SsrEntryHttpError, r as neutralizeBrowserPreloadHelpers, u as getBodyPreview } from "./ssrEntryLoader
|
|
1
|
+
import { f as isHttpUrl, s as EXTERNAL_URL_RE } from "./codeRewriter-BT69vMj_.js";
|
|
2
|
+
import { t as findSharedKey } from "./sharedKeyMatcher-BjGe96M5.js";
|
|
3
|
+
import { d as readResponseTextBounded, i as resolveSharedPath, l as fetchWithTimeout, n as SsrEntryHttpError, r as neutralizeBrowserPreloadHelpers, u as getBodyPreview } from "./ssrEntryLoader-CBfSzuuC.js";
|
|
4
4
|
//#region src/utils/ssrVmStrategy.ts
|
|
5
5
|
/**
|
|
6
6
|
* vm.SourceTextModule strategy for loading remote SSR entries.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as revalidate, i as resolveSharedPath, n as SsrEntryHttpError, o as ssrEntryLoaderPlugin, r as neutralizeBrowserPreloadHelpers, t as SSR_ENTRY_LOADER_STATE_KEY } from "../ssrEntryLoader
|
|
1
|
+
import { a as revalidate, i as resolveSharedPath, n as SsrEntryHttpError, o as ssrEntryLoaderPlugin, r as neutralizeBrowserPreloadHelpers, t as SSR_ENTRY_LOADER_STATE_KEY } from "../ssrEntryLoader-CBfSzuuC.js";
|
|
2
2
|
export { SSR_ENTRY_LOADER_STATE_KEY, SsrEntryHttpError, ssrEntryLoaderPlugin as default, neutralizeBrowserPreloadHelpers, resolveSharedPath, revalidate };
|