@module-federation/sdk
Advanced tools
Comparing version 0.6.4 to 0.6.5
@@ -36,2 +36,9 @@ 'use strict'; | ||
const TEMP_DIR = '.federation'; | ||
const MFPrefetchCommon = { | ||
identifier: 'MFDataPrefetch', | ||
globalKey: '__PREFETCH__', | ||
library: 'mf-data-prefetch', | ||
exportsKey: '__PREFETCH_EXPORTS__', | ||
fileName: 'bootstrap.js' | ||
}; | ||
@@ -716,2 +723,3 @@ var ContainerPlugin = /*#__PURE__*/Object.freeze({ | ||
exports.MFModuleType = MFModuleType; | ||
exports.MFPrefetchCommon = MFPrefetchCommon; | ||
exports.MODULE_DEVTOOL_IDENTIFIER = MODULE_DEVTOOL_IDENTIFIER; | ||
@@ -718,0 +726,0 @@ exports.ManifestFileName = ManifestFileName; |
@@ -32,2 +32,9 @@ import { _ as _extends } from './polyfills.esm.js'; | ||
const TEMP_DIR = '.federation'; | ||
const MFPrefetchCommon = { | ||
identifier: 'MFDataPrefetch', | ||
globalKey: '__PREFETCH__', | ||
library: 'mf-data-prefetch', | ||
exportsKey: '__PREFETCH_EXPORTS__', | ||
fileName: 'bootstrap.js' | ||
}; | ||
@@ -704,2 +711,2 @@ var ContainerPlugin = /*#__PURE__*/Object.freeze({ | ||
export { BROWSER_LOG_KEY, BROWSER_LOG_VALUE, ENCODE_NAME_PREFIX, EncodedNameTransformMap, FederationModuleManifest, Logger, MANIFEST_EXT, MFModuleType, MODULE_DEVTOOL_IDENTIFIER, ManifestFileName, NameTransformMap, NameTransformSymbol, SEPARATOR, StatsFileName, TEMP_DIR, assert, composeKeyWithSeparator, ContainerPlugin as containerPlugin, ContainerReferencePlugin as containerReferencePlugin, createLink, createScript, createScriptNode, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, inferAutoPublicPath, isBrowserEnv, isDebugMode, isManifestProvider, 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, Logger, MANIFEST_EXT, MFModuleType, MFPrefetchCommon, MODULE_DEVTOOL_IDENTIFIER, ManifestFileName, NameTransformMap, NameTransformSymbol, SEPARATOR, StatsFileName, TEMP_DIR, assert, composeKeyWithSeparator, ContainerPlugin as containerPlugin, ContainerReferencePlugin as containerReferencePlugin, createLink, createScript, createScriptNode, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, inferAutoPublicPath, isBrowserEnv, isDebugMode, isManifestProvider, isStaticResourcesEqual, loadScript, loadScriptNode, logger, ModuleFederationPlugin as moduleFederationPlugin, normalizeOptions, parseEntry, safeToString, safeWrapper, SharePlugin as sharePlugin, simpleJoinRemoteEntry, warn }; |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
@@ -26,1 +26,8 @@ export declare const FederationModuleManifest = "federation-manifest.json"; | ||
export declare const TEMP_DIR = ".federation"; | ||
export declare const MFPrefetchCommon: { | ||
identifier: string; | ||
globalKey: string; | ||
library: string; | ||
exportsKey: string; | ||
fileName: string; | ||
}; |
@@ -68,2 +68,6 @@ import type webpack from 'webpack'; | ||
export type SharedItem = string; | ||
/** | ||
* Enable Data Prefetch | ||
*/ | ||
export type DataPrefetch = boolean; | ||
export interface AdditionalDataOptions { | ||
@@ -178,2 +182,3 @@ stats: Stats; | ||
async?: boolean | AsyncBoundaryOptions; | ||
dataPrefetch?: DataPrefetch; | ||
virtualRuntimeEntry?: boolean; | ||
@@ -180,0 +185,0 @@ experiments?: { |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101767
2532