@module-federation/sdk
Advanced tools
Comparing version
@@ -6,2 +6,3 @@ import { _ as _extends } from './polyfills.esm.js'; | ||
const BROWSER_LOG_KEY = 'FEDERATION_DEBUG'; | ||
const BROWSER_LOG_VALUE = '1'; | ||
const NameTransformSymbol = { | ||
@@ -66,3 +67,3 @@ AT: '@', | ||
if (isBrowserEnv() && window.localStorage) { | ||
return Boolean(localStorage.getItem(BROWSER_LOG_KEY)); | ||
return localStorage.getItem(BROWSER_LOG_KEY) === BROWSER_LOG_VALUE; | ||
} | ||
@@ -769,2 +770,2 @@ } catch (error) { | ||
export { BROWSER_LOG_KEY, ENCODE_NAME_PREFIX, EncodedNameTransformMap, FederationModuleManifest, MANIFEST_EXT, MFModuleType, MFPrefetchCommon, MODULE_DEVTOOL_IDENTIFIER, ManifestFileName, NameTransformMap, NameTransformSymbol, SEPARATOR, StatsFileName, TEMP_DIR, assert, composeKeyWithSeparator, ContainerPlugin as containerPlugin, ContainerReferencePlugin as containerReferencePlugin, createLink, createLogger, createScript, createScriptNode, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, inferAutoPublicPath, isBrowserEnv, isDebugMode, isManifestProvider, isReactNativeEnv, isRequiredVersion, isStaticResourcesEqual, loadScript, loadScriptNode, logger, ModuleFederationPlugin as moduleFederationPlugin, normalizeOptions, parseEntry, safeToString, safeWrapper, SharePlugin as sharePlugin, simpleJoinRemoteEntry, warn }; | ||
export { BROWSER_LOG_KEY, BROWSER_LOG_VALUE, ENCODE_NAME_PREFIX, EncodedNameTransformMap, FederationModuleManifest, MANIFEST_EXT, MFModuleType, MFPrefetchCommon, MODULE_DEVTOOL_IDENTIFIER, ManifestFileName, NameTransformMap, NameTransformSymbol, SEPARATOR, StatsFileName, TEMP_DIR, assert, composeKeyWithSeparator, ContainerPlugin as containerPlugin, ContainerReferencePlugin as containerReferencePlugin, createLink, createLogger, createScript, createScriptNode, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, inferAutoPublicPath, isBrowserEnv, isDebugMode, isManifestProvider, isReactNativeEnv, isRequiredVersion, isStaticResourcesEqual, loadScript, loadScriptNode, logger, ModuleFederationPlugin as moduleFederationPlugin, normalizeOptions, parseEntry, safeToString, safeWrapper, SharePlugin as sharePlugin, simpleJoinRemoteEntry, warn }; |
export declare const FederationModuleManifest = "federation-manifest.json"; | ||
export declare const MANIFEST_EXT = ".json"; | ||
export declare const BROWSER_LOG_KEY = "FEDERATION_DEBUG"; | ||
export declare const BROWSER_LOG_VALUE = "1"; | ||
export declare const NameTransformSymbol: { | ||
@@ -5,0 +6,0 @@ AT: string; |
@@ -201,2 +201,6 @@ import type webpack from 'webpack'; | ||
/** | ||
* Enable reconstructed lookup for node_modules paths | ||
*/ | ||
nodeModulesReconstructedLookup?: boolean; | ||
/** | ||
* Options related to build optimizations. | ||
@@ -393,15 +397,3 @@ */ | ||
version?: false | string; | ||
/** | ||
* Issuer layer in which the module should be resolved. | ||
*/ | ||
issuerLayer?: string; | ||
/** | ||
* Layer for the shared module. | ||
*/ | ||
layer?: string; | ||
/** | ||
* The actual request to use for importing the module. Defaults to the property name. | ||
*/ | ||
request?: string; | ||
} | ||
export {}; |
@@ -71,14 +71,2 @@ /** | ||
version?: false | string; | ||
/** | ||
* Issuer layer in which the module should be resolved. | ||
*/ | ||
issuerLayer?: string; | ||
/** | ||
* Layer for the shared module. | ||
*/ | ||
layer?: string; | ||
/** | ||
* The actual request to use for importing the module. Defaults to the property name. | ||
*/ | ||
request?: string; | ||
} | ||
@@ -85,0 +73,0 @@ export declare class SharePlugin { |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20250616190501", | ||
"version": "0.0.0-next-20250616203439", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
107614
-0.25%2723
-0.58%