@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20240911083839 to 0.0.0-next-20240911084000
@@ -36,9 +36,2 @@ 'use strict'; | ||
const TEMP_DIR = '.federation'; | ||
const MFPrefetchCommon = { | ||
identifier: 'MFDataPrefetch', | ||
globalKey: '__PREFETCH__', | ||
library: 'mf-data-prefetch', | ||
exportsKey: '__PREFETCH_EXPORTS__', | ||
fileName: 'bootstrap.js' | ||
}; | ||
@@ -723,3 +716,2 @@ var ContainerPlugin = /*#__PURE__*/Object.freeze({ | ||
exports.MFModuleType = MFModuleType; | ||
exports.MFPrefetchCommon = MFPrefetchCommon; | ||
exports.MODULE_DEVTOOL_IDENTIFIER = MODULE_DEVTOOL_IDENTIFIER; | ||
@@ -726,0 +718,0 @@ exports.ManifestFileName = ManifestFileName; |
@@ -32,9 +32,2 @@ 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' | ||
}; | ||
@@ -711,2 +704,2 @@ var ContainerPlugin = /*#__PURE__*/Object.freeze({ | ||
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 }; | ||
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 }; |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
@@ -26,8 +26,1 @@ 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; | ||
}; |
@@ -43,3 +43,3 @@ import type webpack from 'webpack'; | ||
*/ | ||
export type ExternalsType = 'var' | 'module' | 'assign' | 'this' | 'window' | 'self' | 'global' | 'commonjs' | 'commonjs2' | 'commonjs-module' | 'commonjs-static' | 'amd' | 'amd-require' | 'umd' | 'umd2' | 'jsonp' | 'system' | 'promise' | 'import' | 'script' | 'node-commonjs'; | ||
export type ExternalsType = 'var' | 'module' | 'assign' | 'this' | 'window' | 'self' | 'global' | 'commonjs' | 'commonjs2' | 'commonjs-module' | 'commonjs-static' | 'amd' | 'amd-require' | 'umd' | 'umd2' | 'jsonp' | 'system' | 'promise' | 'import' | 'script' | 'module-import' | 'node-commonjs'; | ||
/** | ||
@@ -69,6 +69,2 @@ * Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location. | ||
export type SharedItem = string; | ||
/** | ||
* Enable Data Prefetch | ||
*/ | ||
export type DataPrefetch = boolean; | ||
export interface AdditionalDataOptions { | ||
@@ -183,3 +179,2 @@ stats: Stats; | ||
async?: boolean | AsyncBoundaryOptions; | ||
dataPrefetch?: DataPrefetch; | ||
virtualRuntimeEntry?: boolean; | ||
@@ -186,0 +181,0 @@ experiments?: { |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20240911083839", | ||
"version": "0.0.0-next-20240911084000", | ||
"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
101071
2505