@module-federation/enhanced 2.0.1 → 2.2.0
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/dist/CHANGELOG.md +2357 -0
- package/dist/README.md +213 -0
- package/dist/rstestmigrate.md +140 -0
- package/dist/src/_virtual/_rolldown/runtime.js +47 -0
- package/dist/src/index.d.ts +22 -19
- package/dist/src/index.js +47 -43
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/Constants.d.ts +25 -29
- package/dist/src/lib/Constants.js +136 -116
- package/dist/src/lib/Constants.js.map +1 -1
- package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -16
- package/dist/src/lib/container/AsyncBoundaryPlugin.js +137 -196
- package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryDependency.d.ts +28 -23
- package/dist/src/lib/container/ContainerEntryDependency.js +39 -39
- package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryModule.d.ts +93 -84
- package/dist/src/lib/container/ContainerEntryModule.js +219 -234
- package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
- package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -10
- package/dist/src/lib/container/ContainerEntryModuleFactory.js +21 -25
- package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
- package/dist/src/lib/container/ContainerExposedDependency.d.ts +29 -24
- package/dist/src/lib/container/ContainerExposedDependency.js +47 -47
- package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -1
- package/dist/src/lib/container/ContainerPlugin.d.ts +12 -8
- package/dist/src/lib/container/ContainerPlugin.js +147 -211
- package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
- package/dist/src/lib/container/ContainerReferencePlugin.d.ts +16 -12
- package/dist/src/lib/container/ContainerReferencePlugin.js +74 -102
- package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/lib/container/FallbackDependency.d.ts +24 -19
- package/dist/src/lib/container/FallbackDependency.js +46 -44
- package/dist/src/lib/container/FallbackDependency.js.map +1 -1
- package/dist/src/lib/container/FallbackItemDependency.d.ts +13 -8
- package/dist/src/lib/container/FallbackItemDependency.js +24 -24
- package/dist/src/lib/container/FallbackItemDependency.js.map +1 -1
- package/dist/src/lib/container/FallbackModule.d.ts +82 -71
- package/dist/src/lib/container/FallbackModule.js +133 -145
- package/dist/src/lib/container/FallbackModule.js.map +1 -1
- package/dist/src/lib/container/FallbackModuleFactory.d.ts +15 -10
- package/dist/src/lib/container/FallbackModuleFactory.js +20 -24
- package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -1
- package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +11 -7
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js +125 -188
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -1
- package/dist/src/lib/container/ModuleFederationPlugin.d.ts +20 -16
- package/dist/src/lib/container/ModuleFederationPlugin.js +143 -180
- package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/lib/container/RemoteModule.d.ts +79 -74
- package/dist/src/lib/container/RemoteModule.js +143 -153
- package/dist/src/lib/container/RemoteModule.js.map +1 -1
- package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -7
- package/dist/src/lib/container/RemoteRuntimeModule.js +86 -120
- package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/RemoteToExternalDependency.d.ts +13 -8
- package/dist/src/lib/container/RemoteToExternalDependency.js +25 -23
- package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -1
- package/dist/src/lib/container/constant.d.ts +3 -0
- package/dist/src/lib/container/constant.js +11 -14
- package/dist/src/lib/container/constant.js.map +1 -1
- package/dist/src/lib/container/options.d.ts +7 -3
- package/dist/src/lib/container/options.js +51 -69
- package/dist/src/lib/container/options.js.map +1 -1
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.d.ts +14 -9
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js +56 -64
- package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.d.ts +23 -19
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js +71 -101
- package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationModulesPlugin.d.ts +20 -16
- package/dist/src/lib/container/runtime/FederationModulesPlugin.js +55 -47
- package/dist/src/lib/container/runtime/FederationModulesPlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.d.ts +9 -4
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.js +16 -12
- package/dist/src/lib/container/runtime/FederationRuntimeDependency.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +16 -11
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js +39 -46
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -1
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +31 -18
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +266 -345
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
- package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +9 -4
- package/dist/src/lib/container/runtime/getFederationGlobal.js +43 -41
- package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -1
- package/dist/src/lib/container/runtime/utils.d.ts +24 -13
- package/dist/src/lib/container/runtime/utils.js +83 -101
- package/dist/src/lib/container/runtime/utils.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +15 -10
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +27 -25
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +77 -68
- package/dist/src/lib/sharing/ConsumeSharedModule.js +186 -214
- package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +13 -9
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js +308 -475
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +16 -11
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +107 -125
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +14 -9
- package/dist/src/lib/sharing/ProvideForSharedDependency.js +25 -25
- package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +44 -39
- package/dist/src/lib/sharing/ProvideSharedDependency.js +72 -76
- package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedModule.d.ts +91 -82
- package/dist/src/lib/sharing/ProvideSharedModule.js +177 -184
- package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +14 -9
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +19 -25
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -1
- package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +27 -21
- package/dist/src/lib/sharing/ProvideSharedPlugin.js +341 -550
- package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/SharePlugin.d.ts +53 -49
- package/dist/src/lib/sharing/SharePlugin.js +86 -100
- package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
- package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +12 -7
- package/dist/src/lib/sharing/ShareRuntimeModule.js +81 -100
- package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +11 -7
- package/dist/src/lib/sharing/resolveMatchedConfigs.js +58 -71
- package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.d.ts +18 -14
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js +74 -128
- package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.d.ts +39 -34
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js +234 -322
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.d.ts +16 -11
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js +30 -28
- package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.d.ts +28 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js +91 -95
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.d.ts +29 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js +47 -43
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.d.ts +20 -15
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js +33 -29
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.d.ts +85 -77
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js +141 -153
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.d.ts +15 -10
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js +20 -24
- package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.d.ts +21 -16
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js +157 -231
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.d.ts +14 -9
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js +26 -27
- package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js.map +1 -1
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.d.ts +18 -13
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js +41 -49
- package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js.map +1 -1
- package/dist/src/lib/sharing/utils.d.ts +27 -24
- package/dist/src/lib/sharing/utils.js +224 -367
- package/dist/src/lib/sharing/utils.js.map +1 -1
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.d.ts +11 -7
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js +56 -75
- package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js.map +1 -1
- package/dist/src/lib/startup/StartupHelpers.d.ts +11 -6
- package/dist/src/lib/startup/StartupHelpers.js +128 -178
- package/dist/src/lib/startup/StartupHelpers.js.map +1 -1
- package/dist/src/prefetch.d.ts +3 -2
- package/dist/src/prefetch.js +17 -8
- package/dist/src/rspack.d.ts +3 -2
- package/dist/src/rspack.js +35 -11
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +8 -4
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -16
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -1
- package/dist/src/runtime.d.ts +1 -1
- package/dist/src/runtime.js +11 -18
- package/dist/src/schemas/container/ContainerPlugin.check.d.ts +13 -5
- package/dist/src/schemas/container/ContainerPlugin.check.js +958 -1218
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerPlugin.d.ts +271 -268
- package/dist/src/schemas/container/ContainerPlugin.js +273 -361
- package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +13 -5
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js +335 -443
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +102 -99
- package/dist/src/schemas/container/ContainerReferencePlugin.js +122 -162
- package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/schemas/container/ExternalsType.check.d.ts +13 -5
- package/dist/src/schemas/container/ExternalsType.check.js +36 -62
- package/dist/src/schemas/container/ExternalsType.check.js.map +1 -1
- package/dist/src/schemas/container/ExternalsType.d.ts +5 -2
- package/dist/src/schemas/container/ExternalsType.js +8 -11
- package/dist/src/schemas/container/ExternalsType.js.map +1 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3001 -4812
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +819 -814
- package/dist/src/schemas/container/ModuleFederationPlugin.js +780 -1053
- package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +568 -768
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +197 -194
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +212 -238
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +598 -804
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +184 -181
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js +196 -229
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +12 -4
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +285 -482
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +103 -100
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js +104 -126
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/SharePlugin.check.d.ts +13 -5
- package/dist/src/schemas/sharing/SharePlugin.check.js +749 -965
- package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
- package/dist/src/schemas/sharing/SharePlugin.d.ts +245 -242
- package/dist/src/schemas/sharing/SharePlugin.js +256 -293
- package/dist/src/schemas/sharing/SharePlugin.js.map +1 -1
- package/dist/src/utils.d.ts +3 -0
- package/dist/src/utils.js +35 -26
- package/dist/src/utils.js.map +1 -1
- package/dist/src/webpack.d.ts +2 -2
- package/dist/src/webpack.js +6 -40
- package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +9 -4
- package/dist/src/wrapper/AsyncBoundaryPlugin.js +12 -11
- package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -1
- package/dist/src/wrapper/BaseWrapperPlugin.d.ts +18 -13
- package/dist/src/wrapper/BaseWrapperPlugin.js +39 -39
- package/dist/src/wrapper/BaseWrapperPlugin.js.map +1 -1
- package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +10 -4
- package/dist/src/wrapper/ConsumeSharedPlugin.js +12 -11
- package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerPlugin.d.ts +9 -4
- package/dist/src/wrapper/ContainerPlugin.js +12 -11
- package/dist/src/wrapper/ContainerPlugin.js.map +1 -1
- package/dist/src/wrapper/ContainerReferencePlugin.d.ts +9 -4
- package/dist/src/wrapper/ContainerReferencePlugin.js +12 -11
- package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/wrapper/FederationModulesPlugin.d.ts +18 -10
- package/dist/src/wrapper/FederationModulesPlugin.js +19 -19
- package/dist/src/wrapper/FederationModulesPlugin.js.map +1 -1
- package/dist/src/wrapper/FederationRuntimePlugin.d.ts +11 -6
- package/dist/src/wrapper/FederationRuntimePlugin.js +18 -17
- package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -1
- package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +8 -3
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js +12 -11
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -1
- package/dist/src/wrapper/ModuleFederationPlugin.d.ts +12 -7
- package/dist/src/wrapper/ModuleFederationPlugin.js +73 -99
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/wrapper/ProvideSharedPlugin.d.ts +10 -4
- package/dist/src/wrapper/ProvideSharedPlugin.js +12 -11
- package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -1
- package/dist/src/wrapper/SharePlugin.d.ts +10 -4
- package/dist/src/wrapper/SharePlugin.js +12 -11
- package/dist/src/wrapper/SharePlugin.js.map +1 -1
- package/dist/src/wrapper/TreeShakingSharedPlugin.d.ts +9 -4
- package/dist/src/wrapper/TreeShakingSharedPlugin.js +12 -11
- package/dist/src/wrapper/TreeShakingSharedPlugin.js.map +1 -1
- package/package.json +21 -14
- package/dist/package.json +0 -110
- package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +0 -57
- package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +0 -33
- package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +0 -4
- package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +0 -28
- package/dist/src/declarations/plugins/container/Template.d.ts +0 -198
- package/dist/src/declarations/plugins/container/WebpackError.d.ts +0 -33
- package/dist/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts +0 -86
- package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -100
- package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -102
- package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -116
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.d.ts +0 -20
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js +0 -219
- package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js.map +0 -1
- package/dist/src/prefetch.js.map +0 -1
- package/dist/src/rspack.js.map +0 -1
- package/dist/src/runtime.js.map +0 -1
- package/dist/src/types/runtime.d.ts +0 -10
- package/dist/src/types/runtime.js +0 -3
- package/dist/src/types/runtime.js.map +0 -1
- package/dist/src/webpack.js.map +0 -1
|
@@ -1,887 +1,892 @@
|
|
|
1
|
+
//#region src/schemas/container/ModuleFederationPlugin.d.ts
|
|
1
2
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
readonly definitions: {
|
|
4
|
+
readonly AmdContainer: {
|
|
5
|
+
readonly description: "Add a container for define/require functions in the AMD module.";
|
|
6
|
+
readonly type: "string";
|
|
7
|
+
readonly minLength: 1;
|
|
8
|
+
};
|
|
9
|
+
readonly AuxiliaryComment: {
|
|
10
|
+
readonly description: "Add a comment in the UMD wrapper.";
|
|
11
|
+
readonly anyOf: readonly [{
|
|
12
|
+
readonly description: "Append the same comment above each import style.";
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
}, {
|
|
15
|
+
readonly $ref: "#/definitions/LibraryCustomUmdCommentObject";
|
|
16
|
+
}];
|
|
17
|
+
};
|
|
18
|
+
readonly EntryRuntime: {
|
|
19
|
+
readonly description: "The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.";
|
|
20
|
+
readonly anyOf: readonly [{
|
|
21
|
+
readonly enum: readonly [false];
|
|
22
|
+
}, {
|
|
23
|
+
readonly type: "string";
|
|
24
|
+
readonly minLength: 1;
|
|
25
|
+
}];
|
|
26
|
+
};
|
|
27
|
+
readonly Exposes: {
|
|
28
|
+
readonly description: "Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.";
|
|
29
|
+
readonly anyOf: readonly [{
|
|
30
|
+
readonly type: "array";
|
|
31
|
+
readonly items: {
|
|
32
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
33
|
+
readonly anyOf: readonly [{
|
|
34
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
35
|
+
}, {
|
|
36
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
37
|
+
}];
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
41
|
+
}];
|
|
42
|
+
};
|
|
43
|
+
readonly ExposesConfig: {
|
|
44
|
+
readonly description: "Advanced configuration for modules that should be exposed by this container.";
|
|
45
|
+
readonly type: "object";
|
|
46
|
+
readonly additionalProperties: false;
|
|
47
|
+
readonly properties: {
|
|
48
|
+
readonly import: {
|
|
49
|
+
readonly description: "Request to a module that should be exposed by this container.";
|
|
50
|
+
readonly anyOf: readonly [{
|
|
51
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
52
|
+
}, {
|
|
53
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
56
|
+
readonly name: {
|
|
57
|
+
readonly description: "Custom chunk name for the exposed module.";
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly required: readonly ["import"];
|
|
62
|
+
};
|
|
63
|
+
readonly ExposesItem: {
|
|
64
|
+
readonly description: "Module that should be exposed by this container.";
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly minLength: 1;
|
|
67
|
+
};
|
|
68
|
+
readonly ExposesItems: {
|
|
69
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
70
|
+
readonly type: "array";
|
|
71
|
+
readonly items: {
|
|
72
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly ExposesObject: {
|
|
76
|
+
readonly description: "Modules that should be exposed by this container. Property names are used as public paths.";
|
|
77
|
+
readonly type: "object";
|
|
78
|
+
readonly additionalProperties: {
|
|
79
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
80
|
+
readonly anyOf: readonly [{
|
|
81
|
+
readonly $ref: "#/definitions/ExposesConfig";
|
|
82
|
+
}, {
|
|
83
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
84
|
+
}, {
|
|
85
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
86
|
+
}];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly ExternalsType: {
|
|
90
|
+
readonly description: "Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).";
|
|
91
|
+
readonly enum: readonly ["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"];
|
|
92
|
+
};
|
|
93
|
+
readonly LibraryCustomUmdCommentObject: {
|
|
94
|
+
readonly description: "Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.";
|
|
95
|
+
readonly type: "object";
|
|
96
|
+
readonly additionalProperties: false;
|
|
97
|
+
readonly properties: {
|
|
98
|
+
readonly amd: {
|
|
99
|
+
readonly description: "Set comment for `amd` section in UMD.";
|
|
100
|
+
readonly type: "string";
|
|
101
|
+
};
|
|
102
|
+
readonly commonjs: {
|
|
103
|
+
readonly description: "Set comment for `commonjs` (exports) section in UMD.";
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
};
|
|
106
|
+
readonly commonjs2: {
|
|
107
|
+
readonly description: "Set comment for `commonjs2` (module.exports) section in UMD.";
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
};
|
|
110
|
+
readonly root: {
|
|
111
|
+
readonly description: "Set comment for `root` (global variable) section in UMD.";
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly LibraryCustomUmdObject: {
|
|
117
|
+
readonly description: "Description object for all UMD variants of the library name.";
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly additionalProperties: false;
|
|
120
|
+
readonly properties: {
|
|
121
|
+
readonly amd: {
|
|
122
|
+
readonly description: "Name of the exposed AMD library in the UMD.";
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly minLength: 1;
|
|
125
|
+
};
|
|
126
|
+
readonly commonjs: {
|
|
127
|
+
readonly description: "Name of the exposed commonjs export in the UMD.";
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
readonly minLength: 1;
|
|
130
|
+
};
|
|
131
|
+
readonly root: {
|
|
132
|
+
readonly description: "Name of the property exposed globally by a UMD library.";
|
|
133
|
+
readonly anyOf: readonly [{
|
|
134
|
+
readonly type: "array";
|
|
135
|
+
readonly items: {
|
|
136
|
+
readonly description: "Part of the name of the property exposed globally by a UMD library.";
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
readonly minLength: 1;
|
|
139
|
+
};
|
|
140
|
+
}, {
|
|
5
141
|
readonly type: "string";
|
|
6
142
|
readonly minLength: 1;
|
|
143
|
+
}];
|
|
7
144
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly LibraryExport: {
|
|
148
|
+
readonly description: "Specify which export should be exposed as library.";
|
|
149
|
+
readonly anyOf: readonly [{
|
|
150
|
+
readonly type: "array";
|
|
151
|
+
readonly items: {
|
|
152
|
+
readonly description: "Part of the export that should be exposed as library.";
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly minLength: 1;
|
|
155
|
+
};
|
|
156
|
+
}, {
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
readonly minLength: 1;
|
|
159
|
+
}];
|
|
160
|
+
};
|
|
161
|
+
readonly LibraryName: {
|
|
162
|
+
readonly description: "The name of the library (some types allow unnamed libraries too).";
|
|
163
|
+
readonly anyOf: readonly [{
|
|
164
|
+
readonly type: "array";
|
|
165
|
+
readonly items: {
|
|
166
|
+
readonly description: "A part of the library name.";
|
|
167
|
+
readonly type: "string";
|
|
168
|
+
readonly minLength: 1;
|
|
169
|
+
};
|
|
170
|
+
readonly minItems: 1;
|
|
171
|
+
}, {
|
|
172
|
+
readonly type: "string";
|
|
173
|
+
readonly minLength: 1;
|
|
174
|
+
}, {
|
|
175
|
+
readonly $ref: "#/definitions/LibraryCustomUmdObject";
|
|
176
|
+
}];
|
|
177
|
+
};
|
|
178
|
+
readonly LibraryOptions: {
|
|
179
|
+
readonly description: "Options for library.";
|
|
180
|
+
readonly type: "object";
|
|
181
|
+
readonly additionalProperties: false;
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly amdContainer: {
|
|
184
|
+
readonly $ref: "#/definitions/AmdContainer";
|
|
16
185
|
};
|
|
17
|
-
readonly
|
|
18
|
-
|
|
19
|
-
readonly anyOf: readonly [{
|
|
20
|
-
readonly enum: readonly [false];
|
|
21
|
-
}, {
|
|
22
|
-
readonly type: "string";
|
|
23
|
-
readonly minLength: 1;
|
|
24
|
-
}];
|
|
186
|
+
readonly auxiliaryComment: {
|
|
187
|
+
readonly $ref: "#/definitions/AuxiliaryComment";
|
|
25
188
|
};
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
readonly anyOf: readonly [{
|
|
29
|
-
readonly type: "array";
|
|
30
|
-
readonly items: {
|
|
31
|
-
readonly description: "Modules that should be exposed by this container.";
|
|
32
|
-
readonly anyOf: readonly [{
|
|
33
|
-
readonly $ref: "#/definitions/ExposesItem";
|
|
34
|
-
}, {
|
|
35
|
-
readonly $ref: "#/definitions/ExposesObject";
|
|
36
|
-
}];
|
|
37
|
-
};
|
|
38
|
-
}, {
|
|
39
|
-
readonly $ref: "#/definitions/ExposesObject";
|
|
40
|
-
}];
|
|
189
|
+
readonly export: {
|
|
190
|
+
readonly $ref: "#/definitions/LibraryExport";
|
|
41
191
|
};
|
|
42
|
-
readonly
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
192
|
+
readonly name: {
|
|
193
|
+
readonly $ref: "#/definitions/LibraryName";
|
|
194
|
+
};
|
|
195
|
+
readonly type: {
|
|
196
|
+
readonly $ref: "#/definitions/LibraryType";
|
|
197
|
+
};
|
|
198
|
+
readonly umdNamedDefine: {
|
|
199
|
+
readonly $ref: "#/definitions/UmdNamedDefine";
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
readonly required: readonly ["type"];
|
|
203
|
+
};
|
|
204
|
+
readonly LibraryType: {
|
|
205
|
+
readonly description: "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).";
|
|
206
|
+
readonly anyOf: readonly [{
|
|
207
|
+
readonly enum: readonly ["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"];
|
|
208
|
+
}, {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
}];
|
|
211
|
+
};
|
|
212
|
+
readonly Remotes: {
|
|
213
|
+
readonly description: "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.";
|
|
214
|
+
readonly anyOf: readonly [{
|
|
215
|
+
readonly type: "array";
|
|
216
|
+
readonly items: {
|
|
217
|
+
readonly description: "Container locations and request scopes from which modules should be resolved and loaded at runtime.";
|
|
218
|
+
readonly anyOf: readonly [{
|
|
219
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
220
|
+
}, {
|
|
221
|
+
readonly $ref: "#/definitions/RemotesObject";
|
|
222
|
+
}];
|
|
223
|
+
};
|
|
224
|
+
}, {
|
|
225
|
+
readonly $ref: "#/definitions/RemotesObject";
|
|
226
|
+
}];
|
|
227
|
+
};
|
|
228
|
+
readonly RemotesConfig: {
|
|
229
|
+
readonly description: "Advanced configuration for container locations from which modules should be resolved and loaded at runtime.";
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly additionalProperties: false;
|
|
232
|
+
readonly properties: {
|
|
233
|
+
readonly external: {
|
|
234
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
235
|
+
readonly anyOf: readonly [{
|
|
236
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
237
|
+
}, {
|
|
238
|
+
readonly $ref: "#/definitions/RemotesItems";
|
|
239
|
+
}];
|
|
61
240
|
};
|
|
62
|
-
readonly
|
|
63
|
-
|
|
241
|
+
readonly shareScope: {
|
|
242
|
+
readonly description: "The name of the share scope shared with this remote.";
|
|
243
|
+
readonly anyOf: readonly [{
|
|
64
244
|
readonly type: "string";
|
|
65
245
|
readonly minLength: 1;
|
|
66
|
-
|
|
67
|
-
readonly ExposesItems: {
|
|
68
|
-
readonly description: "Modules that should be exposed by this container.";
|
|
246
|
+
}, {
|
|
69
247
|
readonly type: "array";
|
|
70
248
|
readonly items: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
readonly ExposesObject: {
|
|
75
|
-
readonly description: "Modules that should be exposed by this container. Property names are used as public paths.";
|
|
76
|
-
readonly type: "object";
|
|
77
|
-
readonly additionalProperties: {
|
|
78
|
-
readonly description: "Modules that should be exposed by this container.";
|
|
79
|
-
readonly anyOf: readonly [{
|
|
80
|
-
readonly $ref: "#/definitions/ExposesConfig";
|
|
81
|
-
}, {
|
|
82
|
-
readonly $ref: "#/definitions/ExposesItem";
|
|
83
|
-
}, {
|
|
84
|
-
readonly $ref: "#/definitions/ExposesItems";
|
|
85
|
-
}];
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
readonly ExternalsType: {
|
|
89
|
-
readonly description: "Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).";
|
|
90
|
-
readonly enum: readonly ["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"];
|
|
91
|
-
};
|
|
92
|
-
readonly LibraryCustomUmdCommentObject: {
|
|
93
|
-
readonly description: "Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.";
|
|
94
|
-
readonly type: "object";
|
|
95
|
-
readonly additionalProperties: false;
|
|
96
|
-
readonly properties: {
|
|
97
|
-
readonly amd: {
|
|
98
|
-
readonly description: "Set comment for `amd` section in UMD.";
|
|
99
|
-
readonly type: "string";
|
|
100
|
-
};
|
|
101
|
-
readonly commonjs: {
|
|
102
|
-
readonly description: "Set comment for `commonjs` (exports) section in UMD.";
|
|
103
|
-
readonly type: "string";
|
|
104
|
-
};
|
|
105
|
-
readonly commonjs2: {
|
|
106
|
-
readonly description: "Set comment for `commonjs2` (module.exports) section in UMD.";
|
|
107
|
-
readonly type: "string";
|
|
108
|
-
};
|
|
109
|
-
readonly root: {
|
|
110
|
-
readonly description: "Set comment for `root` (global variable) section in UMD.";
|
|
111
|
-
readonly type: "string";
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
readonly LibraryCustomUmdObject: {
|
|
116
|
-
readonly description: "Description object for all UMD variants of the library name.";
|
|
117
|
-
readonly type: "object";
|
|
118
|
-
readonly additionalProperties: false;
|
|
119
|
-
readonly properties: {
|
|
120
|
-
readonly amd: {
|
|
121
|
-
readonly description: "Name of the exposed AMD library in the UMD.";
|
|
122
|
-
readonly type: "string";
|
|
123
|
-
readonly minLength: 1;
|
|
124
|
-
};
|
|
125
|
-
readonly commonjs: {
|
|
126
|
-
readonly description: "Name of the exposed commonjs export in the UMD.";
|
|
127
|
-
readonly type: "string";
|
|
128
|
-
readonly minLength: 1;
|
|
129
|
-
};
|
|
130
|
-
readonly root: {
|
|
131
|
-
readonly description: "Name of the property exposed globally by a UMD library.";
|
|
132
|
-
readonly anyOf: readonly [{
|
|
133
|
-
readonly type: "array";
|
|
134
|
-
readonly items: {
|
|
135
|
-
readonly description: "Part of the name of the property exposed globally by a UMD library.";
|
|
136
|
-
readonly type: "string";
|
|
137
|
-
readonly minLength: 1;
|
|
138
|
-
};
|
|
139
|
-
}, {
|
|
140
|
-
readonly type: "string";
|
|
141
|
-
readonly minLength: 1;
|
|
142
|
-
}];
|
|
143
|
-
};
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
readonly minLength: 1;
|
|
144
251
|
};
|
|
252
|
+
}];
|
|
145
253
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
254
|
+
};
|
|
255
|
+
readonly required: readonly ["external"];
|
|
256
|
+
};
|
|
257
|
+
readonly RemotesItem: {
|
|
258
|
+
readonly description: "Container location from which modules should be resolved and loaded at runtime.";
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly minLength: 1;
|
|
261
|
+
};
|
|
262
|
+
readonly RemotesItems: {
|
|
263
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
264
|
+
readonly type: "array";
|
|
265
|
+
readonly items: {
|
|
266
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly RemotesObject: {
|
|
270
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.";
|
|
271
|
+
readonly type: "object";
|
|
272
|
+
readonly additionalProperties: {
|
|
273
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
274
|
+
readonly anyOf: readonly [{
|
|
275
|
+
readonly $ref: "#/definitions/RemotesConfig";
|
|
276
|
+
}, {
|
|
277
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
278
|
+
}, {
|
|
279
|
+
readonly $ref: "#/definitions/RemotesItems";
|
|
280
|
+
}];
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly Shared: {
|
|
284
|
+
readonly description: "Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.";
|
|
285
|
+
readonly anyOf: readonly [{
|
|
286
|
+
readonly type: "array";
|
|
287
|
+
readonly items: {
|
|
288
|
+
readonly description: "Modules that should be shared in the share scope.";
|
|
289
|
+
readonly anyOf: readonly [{
|
|
290
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
291
|
+
}, {
|
|
292
|
+
readonly $ref: "#/definitions/SharedObject";
|
|
293
|
+
}];
|
|
294
|
+
};
|
|
295
|
+
}, {
|
|
296
|
+
readonly $ref: "#/definitions/SharedObject";
|
|
297
|
+
}];
|
|
298
|
+
};
|
|
299
|
+
readonly SharedConfig: {
|
|
300
|
+
readonly description: "Advanced configuration for modules that should be shared in the share scope.";
|
|
301
|
+
readonly type: "object";
|
|
302
|
+
readonly additionalProperties: false;
|
|
303
|
+
readonly properties: {
|
|
304
|
+
readonly eager: {
|
|
305
|
+
readonly description: "Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.";
|
|
306
|
+
readonly type: "boolean";
|
|
307
|
+
};
|
|
308
|
+
readonly exclude: {
|
|
309
|
+
readonly description: "Options for excluding specific versions or request paths of the shared module. When specified, matching modules will not be shared. Cannot be used with 'include'.";
|
|
310
|
+
readonly $ref: "#/definitions/IncludeExcludeOptions";
|
|
311
|
+
};
|
|
312
|
+
readonly include: {
|
|
313
|
+
readonly description: "Options for including only specific versions or request paths of the shared module. When specified, only matching modules will be shared. Cannot be used with 'exclude'.";
|
|
314
|
+
readonly $ref: "#/definitions/IncludeExcludeOptions";
|
|
315
|
+
};
|
|
316
|
+
readonly import: {
|
|
317
|
+
readonly description: "Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.";
|
|
318
|
+
readonly anyOf: readonly [{
|
|
319
|
+
readonly description: "No provided or fallback module.";
|
|
320
|
+
readonly enum: readonly [false];
|
|
321
|
+
}, {
|
|
322
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
323
|
+
}];
|
|
324
|
+
};
|
|
325
|
+
readonly request: {
|
|
326
|
+
readonly description: "Import request to match on";
|
|
327
|
+
readonly type: "string";
|
|
328
|
+
readonly minLength: 1;
|
|
329
|
+
};
|
|
330
|
+
readonly layer: {
|
|
331
|
+
readonly description: "Layer in which the shared module should be placed.";
|
|
332
|
+
readonly type: "string";
|
|
333
|
+
readonly minLength: 1;
|
|
334
|
+
};
|
|
335
|
+
readonly issuerLayer: {
|
|
336
|
+
readonly description: "Layer of the issuer.";
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
readonly minLength: 1;
|
|
339
|
+
};
|
|
340
|
+
readonly packageName: {
|
|
341
|
+
readonly description: "Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.";
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
readonly minLength: 1;
|
|
344
|
+
};
|
|
345
|
+
readonly requiredVersion: {
|
|
346
|
+
readonly description: "Version requirement from module in share scope.";
|
|
347
|
+
readonly anyOf: readonly [{
|
|
348
|
+
readonly description: "No version requirement check.";
|
|
349
|
+
readonly enum: readonly [false];
|
|
350
|
+
}, {
|
|
351
|
+
readonly description: "Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.";
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
}];
|
|
159
354
|
};
|
|
160
|
-
readonly
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
readonly items: {
|
|
165
|
-
readonly description: "A part of the library name.";
|
|
166
|
-
readonly type: "string";
|
|
167
|
-
readonly minLength: 1;
|
|
168
|
-
};
|
|
169
|
-
readonly minItems: 1;
|
|
170
|
-
}, {
|
|
171
|
-
readonly type: "string";
|
|
172
|
-
readonly minLength: 1;
|
|
173
|
-
}, {
|
|
174
|
-
readonly $ref: "#/definitions/LibraryCustomUmdObject";
|
|
175
|
-
}];
|
|
355
|
+
readonly shareKey: {
|
|
356
|
+
readonly description: "Module is looked up under this key from the share scope.";
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly minLength: 1;
|
|
176
359
|
};
|
|
177
|
-
readonly
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
};
|
|
188
|
-
readonly export: {
|
|
189
|
-
readonly $ref: "#/definitions/LibraryExport";
|
|
190
|
-
};
|
|
191
|
-
readonly name: {
|
|
192
|
-
readonly $ref: "#/definitions/LibraryName";
|
|
193
|
-
};
|
|
194
|
-
readonly type: {
|
|
195
|
-
readonly $ref: "#/definitions/LibraryType";
|
|
196
|
-
};
|
|
197
|
-
readonly umdNamedDefine: {
|
|
198
|
-
readonly $ref: "#/definitions/UmdNamedDefine";
|
|
199
|
-
};
|
|
360
|
+
readonly shareScope: {
|
|
361
|
+
readonly description: "Share scope name.";
|
|
362
|
+
readonly anyOf: readonly [{
|
|
363
|
+
readonly type: "string";
|
|
364
|
+
readonly minLength: 1;
|
|
365
|
+
}, {
|
|
366
|
+
readonly type: "array";
|
|
367
|
+
readonly items: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly minLength: 1;
|
|
200
370
|
};
|
|
201
|
-
|
|
371
|
+
}];
|
|
202
372
|
};
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
373
|
+
readonly shareStrategy: {
|
|
374
|
+
readonly description: "[Deprecated]: load shared strategy(defaults to 'version-first').";
|
|
375
|
+
readonly enum: readonly ["version-first", "loaded-first"];
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
};
|
|
378
|
+
readonly singleton: {
|
|
379
|
+
readonly description: "Allow only a single version of the shared module in share scope (disabled by default).";
|
|
380
|
+
readonly type: "boolean";
|
|
381
|
+
};
|
|
382
|
+
readonly strictVersion: {
|
|
383
|
+
readonly description: "Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).";
|
|
384
|
+
readonly type: "boolean";
|
|
385
|
+
};
|
|
386
|
+
readonly version: {
|
|
387
|
+
readonly description: "Version of the provided module. Will replace lower matching versions, but not higher.";
|
|
388
|
+
readonly anyOf: readonly [{
|
|
389
|
+
readonly description: "Don't provide a version.";
|
|
390
|
+
readonly enum: readonly [false];
|
|
391
|
+
}, {
|
|
392
|
+
readonly description: "Version as string. Each part of the version should be separated by a dot '.'.";
|
|
393
|
+
readonly type: "string";
|
|
394
|
+
}];
|
|
210
395
|
};
|
|
211
|
-
readonly
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
readonly type: "array";
|
|
215
|
-
readonly items: {
|
|
216
|
-
readonly description: "Container locations and request scopes from which modules should be resolved and loaded at runtime.";
|
|
217
|
-
readonly anyOf: readonly [{
|
|
218
|
-
readonly $ref: "#/definitions/RemotesItem";
|
|
219
|
-
}, {
|
|
220
|
-
readonly $ref: "#/definitions/RemotesObject";
|
|
221
|
-
}];
|
|
222
|
-
};
|
|
223
|
-
}, {
|
|
224
|
-
readonly $ref: "#/definitions/RemotesObject";
|
|
225
|
-
}];
|
|
396
|
+
readonly allowNodeModulesSuffixMatch: {
|
|
397
|
+
readonly description: "Enable reconstructed lookup for node_modules paths for this share item";
|
|
398
|
+
readonly type: "boolean";
|
|
226
399
|
};
|
|
227
|
-
readonly
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
readonly
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
readonly anyOf: readonly [{
|
|
235
|
-
readonly $ref: "#/definitions/RemotesItem";
|
|
236
|
-
}, {
|
|
237
|
-
readonly $ref: "#/definitions/RemotesItems";
|
|
238
|
-
}];
|
|
239
|
-
};
|
|
240
|
-
readonly shareScope: {
|
|
241
|
-
readonly description: "The name of the share scope shared with this remote.";
|
|
242
|
-
readonly anyOf: readonly [{
|
|
243
|
-
readonly type: "string";
|
|
244
|
-
readonly minLength: 1;
|
|
245
|
-
}, {
|
|
246
|
-
readonly type: "array";
|
|
247
|
-
readonly items: {
|
|
248
|
-
readonly type: "string";
|
|
249
|
-
readonly minLength: 1;
|
|
250
|
-
};
|
|
251
|
-
}];
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
readonly required: readonly ["external"];
|
|
400
|
+
readonly treeShaking: {
|
|
401
|
+
readonly description: "Enable tree-shaking for the shared module or configure it.";
|
|
402
|
+
readonly anyOf: readonly [{
|
|
403
|
+
readonly type: "boolean";
|
|
404
|
+
}, {
|
|
405
|
+
readonly $ref: "#/definitions/TreeShakingConfig";
|
|
406
|
+
}];
|
|
255
407
|
};
|
|
256
|
-
|
|
257
|
-
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
readonly SharedItem: {
|
|
411
|
+
readonly description: "A module that should be shared in the share scope.";
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
readonly minLength: 1;
|
|
414
|
+
};
|
|
415
|
+
readonly SharedObject: {
|
|
416
|
+
readonly description: "Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.";
|
|
417
|
+
readonly type: "object";
|
|
418
|
+
readonly additionalProperties: {
|
|
419
|
+
readonly description: "Modules that should be shared in the share scope.";
|
|
420
|
+
readonly anyOf: readonly [{
|
|
421
|
+
readonly $ref: "#/definitions/SharedConfig";
|
|
422
|
+
}, {
|
|
423
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
424
|
+
}];
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
readonly UmdNamedDefine: {
|
|
428
|
+
readonly description: "If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.";
|
|
429
|
+
readonly type: "boolean";
|
|
430
|
+
};
|
|
431
|
+
readonly IncludeExcludeOptions: {
|
|
432
|
+
readonly type: "object";
|
|
433
|
+
readonly properties: {
|
|
434
|
+
readonly request: {
|
|
435
|
+
readonly type: readonly ["string", "object"];
|
|
436
|
+
readonly description: "A string (which can be a regex pattern) or a RegExp object to match the request path.";
|
|
437
|
+
};
|
|
438
|
+
readonly version: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
readonly description: "Semantic versioning range to match against the module's version.";
|
|
441
|
+
};
|
|
442
|
+
readonly fallbackVersion: {
|
|
443
|
+
readonly type: "string";
|
|
444
|
+
readonly description: "Semantic versioning range to match against the fallback module's version for exclusion/inclusion context where applicable.";
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
readonly additionalProperties: false;
|
|
448
|
+
readonly anyOf: readonly [{
|
|
449
|
+
readonly required: readonly ["request"];
|
|
450
|
+
}, {
|
|
451
|
+
readonly required: readonly ["version"];
|
|
452
|
+
}, {
|
|
453
|
+
readonly required: readonly ["fallbackVersion"];
|
|
454
|
+
}];
|
|
455
|
+
};
|
|
456
|
+
readonly Exclude: {
|
|
457
|
+
readonly description: "Advanced filtering options.";
|
|
458
|
+
readonly type: "object";
|
|
459
|
+
readonly additionalProperties: false;
|
|
460
|
+
readonly properties: {
|
|
461
|
+
readonly request: {
|
|
462
|
+
readonly description: "Regular expression pattern to filter module requests";
|
|
463
|
+
readonly instanceof: "RegExp";
|
|
464
|
+
};
|
|
465
|
+
readonly version: {
|
|
466
|
+
readonly description: "Specific version string or range to filter by (exclude matches).";
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
};
|
|
469
|
+
readonly fallbackVersion: {
|
|
470
|
+
readonly description: "Optional specific version string to check against the filter.version range instead of reading package.json.";
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
readonly TreeShakingConfig: {
|
|
476
|
+
readonly description: "Tree-shake configuration for shared module.";
|
|
477
|
+
readonly type: "object";
|
|
478
|
+
readonly additionalProperties: false;
|
|
479
|
+
readonly properties: {
|
|
480
|
+
readonly usedExports: {
|
|
481
|
+
readonly description: "List of export names used from the shared module.";
|
|
482
|
+
readonly type: "array";
|
|
483
|
+
readonly items: {
|
|
258
484
|
readonly type: "string";
|
|
259
485
|
readonly minLength: 1;
|
|
486
|
+
};
|
|
260
487
|
};
|
|
261
|
-
readonly
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
readonly $ref: "#/definitions/RemotesItem";
|
|
266
|
-
};
|
|
488
|
+
readonly mode: {
|
|
489
|
+
readonly description: "Tree-shake analysis mode.";
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly enum: readonly ["server-calc", "runtime-infer"];
|
|
267
492
|
};
|
|
268
|
-
readonly
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
readonly additionalProperties: {
|
|
272
|
-
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
273
|
-
readonly anyOf: readonly [{
|
|
274
|
-
readonly $ref: "#/definitions/RemotesConfig";
|
|
275
|
-
}, {
|
|
276
|
-
readonly $ref: "#/definitions/RemotesItem";
|
|
277
|
-
}, {
|
|
278
|
-
readonly $ref: "#/definitions/RemotesItems";
|
|
279
|
-
}];
|
|
280
|
-
};
|
|
493
|
+
readonly filename: {
|
|
494
|
+
readonly description: "Filename for generated treeShaking metadata.";
|
|
495
|
+
readonly type: "string";
|
|
281
496
|
};
|
|
282
|
-
|
|
283
|
-
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
readonly title: "ModuleFederationPluginOptions";
|
|
501
|
+
readonly type: "object";
|
|
502
|
+
readonly additionalProperties: false;
|
|
503
|
+
readonly properties: {
|
|
504
|
+
readonly async: {
|
|
505
|
+
readonly description: "Enable/disable asynchronous loading of runtime modules or provide async boundary options.";
|
|
506
|
+
readonly anyOf: readonly [{
|
|
507
|
+
readonly type: "boolean";
|
|
508
|
+
}, {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly properties: {
|
|
511
|
+
readonly eager: {
|
|
512
|
+
readonly description: "Eagerly load a module, matched via RegExp or predicate function";
|
|
284
513
|
readonly anyOf: readonly [{
|
|
285
|
-
|
|
286
|
-
readonly items: {
|
|
287
|
-
readonly description: "Modules that should be shared in the share scope.";
|
|
288
|
-
readonly anyOf: readonly [{
|
|
289
|
-
readonly $ref: "#/definitions/SharedItem";
|
|
290
|
-
}, {
|
|
291
|
-
readonly $ref: "#/definitions/SharedObject";
|
|
292
|
-
}];
|
|
293
|
-
};
|
|
514
|
+
readonly instanceof: "RegExp";
|
|
294
515
|
}, {
|
|
295
|
-
|
|
516
|
+
readonly instanceof: "Function";
|
|
296
517
|
}];
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
readonly description: "
|
|
300
|
-
readonly
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
518
|
+
};
|
|
519
|
+
readonly excludeChunk: {
|
|
520
|
+
readonly description: "Predicate to exclude chunk from async boundary";
|
|
521
|
+
readonly instanceof: "Function";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
readonly additionalProperties: false;
|
|
525
|
+
}];
|
|
526
|
+
};
|
|
527
|
+
readonly exposes: {
|
|
528
|
+
readonly $ref: "#/definitions/Exposes";
|
|
529
|
+
};
|
|
530
|
+
readonly filename: {
|
|
531
|
+
readonly description: "The filename for this container relative path inside the `output.path` directory.";
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly absolutePath: false;
|
|
534
|
+
readonly minLength: 1;
|
|
535
|
+
};
|
|
536
|
+
readonly treeShakingSharedExcludePlugins: {
|
|
537
|
+
readonly description: "Plugin names to exclude from independent shared compilation (will be filtered out by name).";
|
|
538
|
+
readonly type: "array";
|
|
539
|
+
readonly items: {
|
|
540
|
+
readonly type: "string";
|
|
541
|
+
readonly minLength: 1;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
readonly treeShakingSharedPlugins: {
|
|
545
|
+
readonly description: "List of plugin module paths to apply when building independent shared fallbacks.";
|
|
546
|
+
readonly type: "array";
|
|
547
|
+
readonly items: {
|
|
548
|
+
readonly type: "string";
|
|
549
|
+
readonly minLength: 1;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
readonly treeShakingDir: {
|
|
553
|
+
readonly description: "The directory where tree-shaking assets will be generated.";
|
|
554
|
+
readonly type: "string";
|
|
555
|
+
readonly minLength: 1;
|
|
556
|
+
};
|
|
557
|
+
readonly injectTreeShakingUsedExports: {
|
|
558
|
+
readonly description: "Inject tree-shaking used exports to the shared module.";
|
|
559
|
+
readonly type: "boolean";
|
|
560
|
+
};
|
|
561
|
+
readonly library: {
|
|
562
|
+
readonly $ref: "#/definitions/LibraryOptions";
|
|
563
|
+
};
|
|
564
|
+
readonly name: {
|
|
565
|
+
readonly description: "The name for this container.";
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
readonly minLength: 1;
|
|
568
|
+
};
|
|
569
|
+
readonly remoteType: {
|
|
570
|
+
readonly description: "The external type of the remote containers.";
|
|
571
|
+
readonly oneOf: readonly [{
|
|
572
|
+
readonly $ref: "#/definitions/ExternalsType";
|
|
573
|
+
}];
|
|
574
|
+
};
|
|
575
|
+
readonly remotes: {
|
|
576
|
+
readonly $ref: "#/definitions/Remotes";
|
|
577
|
+
};
|
|
578
|
+
readonly runtime: {
|
|
579
|
+
readonly $ref: "#/definitions/EntryRuntime";
|
|
580
|
+
};
|
|
581
|
+
readonly shareScope: {
|
|
582
|
+
readonly description: "The name of the share scope which is shared with the host (defaults to 'default').";
|
|
583
|
+
readonly anyOf: readonly [{
|
|
584
|
+
readonly type: "string";
|
|
585
|
+
readonly minLength: 1;
|
|
586
|
+
}, {
|
|
587
|
+
readonly type: "array";
|
|
588
|
+
readonly items: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
readonly minLength: 1;
|
|
591
|
+
};
|
|
592
|
+
}];
|
|
593
|
+
};
|
|
594
|
+
readonly shareStrategy: {
|
|
595
|
+
readonly description: "Strategy for resolving shared modules (defaults to 'version-first').";
|
|
596
|
+
readonly enum: readonly ["version-first", "loaded-first"];
|
|
597
|
+
readonly type: "string";
|
|
598
|
+
};
|
|
599
|
+
readonly shared: {
|
|
600
|
+
readonly $ref: "#/definitions/Shared";
|
|
601
|
+
};
|
|
602
|
+
readonly dts: {
|
|
603
|
+
readonly description: "TypeScript declaration file generation options";
|
|
604
|
+
readonly anyOf: readonly [{
|
|
605
|
+
readonly type: "boolean";
|
|
606
|
+
}, {
|
|
607
|
+
readonly type: "object";
|
|
608
|
+
readonly properties: {
|
|
609
|
+
readonly generateTypes: {
|
|
610
|
+
readonly anyOf: readonly [{
|
|
611
|
+
readonly type: "boolean";
|
|
612
|
+
}, {
|
|
613
|
+
readonly type: "object";
|
|
614
|
+
readonly properties: {
|
|
615
|
+
readonly tsConfigPath: {
|
|
616
|
+
readonly type: "string";
|
|
314
617
|
};
|
|
315
|
-
readonly
|
|
316
|
-
|
|
317
|
-
readonly anyOf: readonly [{
|
|
318
|
-
readonly description: "No provided or fallback module.";
|
|
319
|
-
readonly enum: readonly [false];
|
|
320
|
-
}, {
|
|
321
|
-
readonly $ref: "#/definitions/SharedItem";
|
|
322
|
-
}];
|
|
618
|
+
readonly typesFolder: {
|
|
619
|
+
readonly type: "string";
|
|
323
620
|
};
|
|
324
|
-
readonly
|
|
325
|
-
|
|
326
|
-
readonly type: "string";
|
|
327
|
-
readonly minLength: 1;
|
|
621
|
+
readonly compiledTypesFolder: {
|
|
622
|
+
readonly type: "string";
|
|
328
623
|
};
|
|
329
|
-
readonly
|
|
330
|
-
|
|
331
|
-
readonly type: "string";
|
|
332
|
-
readonly minLength: 1;
|
|
624
|
+
readonly deleteTypesFolder: {
|
|
625
|
+
readonly type: "boolean";
|
|
333
626
|
};
|
|
334
|
-
readonly
|
|
335
|
-
|
|
627
|
+
readonly additionalFilesToCompile: {
|
|
628
|
+
readonly type: "array";
|
|
629
|
+
readonly items: {
|
|
336
630
|
readonly type: "string";
|
|
337
|
-
|
|
631
|
+
};
|
|
338
632
|
};
|
|
339
|
-
readonly
|
|
340
|
-
|
|
341
|
-
readonly type: "string";
|
|
342
|
-
readonly minLength: 1;
|
|
633
|
+
readonly compileInChildProcess: {
|
|
634
|
+
readonly type: "boolean";
|
|
343
635
|
};
|
|
344
|
-
readonly
|
|
345
|
-
|
|
346
|
-
readonly anyOf: readonly [{
|
|
347
|
-
readonly description: "No version requirement check.";
|
|
348
|
-
readonly enum: readonly [false];
|
|
349
|
-
}, {
|
|
350
|
-
readonly description: "Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.";
|
|
351
|
-
readonly type: "string";
|
|
352
|
-
}];
|
|
636
|
+
readonly compilerInstance: {
|
|
637
|
+
readonly type: "string";
|
|
353
638
|
};
|
|
354
|
-
readonly
|
|
355
|
-
|
|
356
|
-
readonly type: "string";
|
|
357
|
-
readonly minLength: 1;
|
|
639
|
+
readonly generateAPITypes: {
|
|
640
|
+
readonly type: "boolean";
|
|
358
641
|
};
|
|
359
|
-
readonly
|
|
360
|
-
|
|
361
|
-
readonly
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
642
|
+
readonly extractThirdParty: {
|
|
643
|
+
readonly anyOf: readonly [{
|
|
644
|
+
readonly type: "boolean";
|
|
645
|
+
}, {
|
|
646
|
+
readonly type: "object";
|
|
647
|
+
readonly properties: {
|
|
648
|
+
readonly exclude: {
|
|
365
649
|
readonly type: "array";
|
|
366
650
|
readonly items: {
|
|
651
|
+
readonly anyOf: readonly [{
|
|
367
652
|
readonly type: "string";
|
|
368
|
-
|
|
653
|
+
}, {
|
|
654
|
+
readonly instanceof: "RegExp";
|
|
655
|
+
}];
|
|
369
656
|
};
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
readonly enum: readonly ["version-first", "loaded-first"];
|
|
375
|
-
readonly type: "string";
|
|
376
|
-
};
|
|
377
|
-
readonly singleton: {
|
|
378
|
-
readonly description: "Allow only a single version of the shared module in share scope (disabled by default).";
|
|
379
|
-
readonly type: "boolean";
|
|
380
|
-
};
|
|
381
|
-
readonly strictVersion: {
|
|
382
|
-
readonly description: "Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).";
|
|
383
|
-
readonly type: "boolean";
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
readonly additionalProperties: false;
|
|
660
|
+
}];
|
|
384
661
|
};
|
|
385
|
-
readonly
|
|
386
|
-
|
|
387
|
-
readonly anyOf: readonly [{
|
|
388
|
-
readonly description: "Don't provide a version.";
|
|
389
|
-
readonly enum: readonly [false];
|
|
390
|
-
}, {
|
|
391
|
-
readonly description: "Version as string. Each part of the version should be separated by a dot '.'.";
|
|
392
|
-
readonly type: "string";
|
|
393
|
-
}];
|
|
662
|
+
readonly extractRemoteTypes: {
|
|
663
|
+
readonly type: "boolean";
|
|
394
664
|
};
|
|
395
|
-
readonly
|
|
396
|
-
|
|
397
|
-
readonly type: "boolean";
|
|
665
|
+
readonly abortOnError: {
|
|
666
|
+
readonly type: "boolean";
|
|
398
667
|
};
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
668
|
+
};
|
|
669
|
+
}];
|
|
670
|
+
};
|
|
671
|
+
readonly consumeTypes: {
|
|
672
|
+
readonly anyOf: readonly [{
|
|
673
|
+
readonly type: "boolean";
|
|
674
|
+
}, {
|
|
675
|
+
readonly type: "object";
|
|
676
|
+
readonly properties: {
|
|
677
|
+
readonly typesFolder: {
|
|
678
|
+
readonly type: "string";
|
|
406
679
|
};
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
readonly SharedItem: {
|
|
410
|
-
readonly description: "A module that should be shared in the share scope.";
|
|
411
|
-
readonly type: "string";
|
|
412
|
-
readonly minLength: 1;
|
|
413
|
-
};
|
|
414
|
-
readonly SharedObject: {
|
|
415
|
-
readonly description: "Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.";
|
|
416
|
-
readonly type: "object";
|
|
417
|
-
readonly additionalProperties: {
|
|
418
|
-
readonly description: "Modules that should be shared in the share scope.";
|
|
419
|
-
readonly anyOf: readonly [{
|
|
420
|
-
readonly $ref: "#/definitions/SharedConfig";
|
|
421
|
-
}, {
|
|
422
|
-
readonly $ref: "#/definitions/SharedItem";
|
|
423
|
-
}];
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
readonly UmdNamedDefine: {
|
|
427
|
-
readonly description: "If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.";
|
|
428
|
-
readonly type: "boolean";
|
|
429
|
-
};
|
|
430
|
-
readonly IncludeExcludeOptions: {
|
|
431
|
-
readonly type: "object";
|
|
432
|
-
readonly properties: {
|
|
433
|
-
readonly request: {
|
|
434
|
-
readonly type: readonly ["string", "object"];
|
|
435
|
-
readonly description: "A string (which can be a regex pattern) or a RegExp object to match the request path.";
|
|
680
|
+
readonly abortOnError: {
|
|
681
|
+
readonly type: "boolean";
|
|
436
682
|
};
|
|
437
|
-
readonly
|
|
438
|
-
|
|
439
|
-
readonly description: "Semantic versioning range to match against the module's version.";
|
|
683
|
+
readonly remoteTypesFolder: {
|
|
684
|
+
readonly type: "string";
|
|
440
685
|
};
|
|
441
|
-
readonly
|
|
442
|
-
|
|
443
|
-
readonly description: "Semantic versioning range to match against the fallback module's version for exclusion/inclusion context where applicable.";
|
|
686
|
+
readonly deleteTypesFolder: {
|
|
687
|
+
readonly type: "boolean";
|
|
444
688
|
};
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
readonly anyOf: readonly [{
|
|
448
|
-
readonly required: readonly ["request"];
|
|
449
|
-
}, {
|
|
450
|
-
readonly required: readonly ["version"];
|
|
451
|
-
}, {
|
|
452
|
-
readonly required: readonly ["fallbackVersion"];
|
|
453
|
-
}];
|
|
454
|
-
};
|
|
455
|
-
readonly Exclude: {
|
|
456
|
-
readonly description: "Advanced filtering options.";
|
|
457
|
-
readonly type: "object";
|
|
458
|
-
readonly additionalProperties: false;
|
|
459
|
-
readonly properties: {
|
|
460
|
-
readonly request: {
|
|
461
|
-
readonly description: "Regular expression pattern to filter module requests";
|
|
462
|
-
readonly instanceof: "RegExp";
|
|
689
|
+
readonly maxRetries: {
|
|
690
|
+
readonly type: "number";
|
|
463
691
|
};
|
|
464
|
-
readonly
|
|
465
|
-
|
|
466
|
-
readonly type: "string";
|
|
692
|
+
readonly consumeAPITypes: {
|
|
693
|
+
readonly type: "boolean";
|
|
467
694
|
};
|
|
468
|
-
readonly
|
|
469
|
-
|
|
695
|
+
readonly runtimePkgs: {
|
|
696
|
+
readonly type: "array";
|
|
697
|
+
readonly items: {
|
|
470
698
|
readonly type: "string";
|
|
699
|
+
};
|
|
471
700
|
};
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
readonly
|
|
701
|
+
readonly remoteTypeUrls: {
|
|
702
|
+
readonly description: "Remote type URLs provider or map";
|
|
703
|
+
readonly anyOf: readonly [{
|
|
704
|
+
readonly instanceof: "Function";
|
|
705
|
+
}, {
|
|
706
|
+
readonly type: "object";
|
|
707
|
+
readonly additionalProperties: {
|
|
708
|
+
readonly type: "object";
|
|
709
|
+
readonly properties: {
|
|
710
|
+
readonly alias: {
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
};
|
|
713
|
+
readonly api: {
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
};
|
|
716
|
+
readonly zip: {
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
readonly required: readonly ["api", "zip"];
|
|
721
|
+
readonly additionalProperties: false;
|
|
485
722
|
};
|
|
723
|
+
}];
|
|
486
724
|
};
|
|
487
|
-
readonly
|
|
488
|
-
|
|
489
|
-
readonly type: "string";
|
|
490
|
-
readonly enum: readonly ["server-calc", "runtime-infer"];
|
|
725
|
+
readonly timeout: {
|
|
726
|
+
readonly type: "number";
|
|
491
727
|
};
|
|
492
|
-
readonly
|
|
493
|
-
|
|
494
|
-
readonly type: "string";
|
|
728
|
+
readonly family: {
|
|
729
|
+
readonly enum: readonly [4, 6];
|
|
495
730
|
};
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
};
|
|
499
|
-
readonly title: "ModuleFederationPluginOptions";
|
|
500
|
-
readonly type: "object";
|
|
501
|
-
readonly additionalProperties: false;
|
|
502
|
-
readonly properties: {
|
|
503
|
-
readonly async: {
|
|
504
|
-
readonly description: "Enable/disable asynchronous loading of runtime modules or provide async boundary options.";
|
|
505
|
-
readonly anyOf: readonly [{
|
|
506
|
-
readonly type: "boolean";
|
|
507
|
-
}, {
|
|
508
|
-
readonly type: "object";
|
|
509
|
-
readonly properties: {
|
|
510
|
-
readonly eager: {
|
|
511
|
-
readonly description: "Eagerly load a module, matched via RegExp or predicate function";
|
|
512
|
-
readonly anyOf: readonly [{
|
|
513
|
-
readonly instanceof: "RegExp";
|
|
514
|
-
}, {
|
|
515
|
-
readonly instanceof: "Function";
|
|
516
|
-
}];
|
|
517
|
-
};
|
|
518
|
-
readonly excludeChunk: {
|
|
519
|
-
readonly description: "Predicate to exclude chunk from async boundary";
|
|
520
|
-
readonly instanceof: "Function";
|
|
521
|
-
};
|
|
731
|
+
readonly typesOnBuild: {
|
|
732
|
+
readonly type: "boolean";
|
|
522
733
|
};
|
|
523
|
-
|
|
734
|
+
};
|
|
524
735
|
}];
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
readonly $ref: "#/definitions/Exposes";
|
|
528
|
-
};
|
|
529
|
-
readonly filename: {
|
|
530
|
-
readonly description: "The filename for this container relative path inside the `output.path` directory.";
|
|
736
|
+
};
|
|
737
|
+
readonly tsConfigPath: {
|
|
531
738
|
readonly type: "string";
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
readonly type: "array";
|
|
538
|
-
readonly items: {
|
|
539
|
-
readonly type: "string";
|
|
540
|
-
readonly minLength: 1;
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
readonly treeShakingSharedPlugins: {
|
|
544
|
-
readonly description: "List of plugins to exclude from tree-shake analysis.";
|
|
545
|
-
readonly type: "array";
|
|
546
|
-
readonly items: {
|
|
547
|
-
readonly type: "string";
|
|
548
|
-
readonly minLength: 1;
|
|
549
|
-
};
|
|
550
|
-
};
|
|
551
|
-
readonly treeShakingDir: {
|
|
552
|
-
readonly description: "The directory where tree-shaking assets will be generated.";
|
|
739
|
+
};
|
|
740
|
+
readonly extraOptions: {
|
|
741
|
+
readonly type: "object";
|
|
742
|
+
};
|
|
743
|
+
readonly implementation: {
|
|
553
744
|
readonly type: "string";
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
readonly injectTreeShakingUsedExports: {
|
|
557
|
-
readonly description: "Inject tree-shaking used exports to the shared module.";
|
|
558
|
-
readonly type: "boolean";
|
|
559
|
-
};
|
|
560
|
-
readonly library: {
|
|
561
|
-
readonly $ref: "#/definitions/LibraryOptions";
|
|
562
|
-
};
|
|
563
|
-
readonly name: {
|
|
564
|
-
readonly description: "The name for this container.";
|
|
745
|
+
};
|
|
746
|
+
readonly cwd: {
|
|
565
747
|
readonly type: "string";
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
readonly oneOf: readonly [{
|
|
571
|
-
readonly $ref: "#/definitions/ExternalsType";
|
|
572
|
-
}];
|
|
573
|
-
};
|
|
574
|
-
readonly remotes: {
|
|
575
|
-
readonly $ref: "#/definitions/Remotes";
|
|
576
|
-
};
|
|
577
|
-
readonly runtime: {
|
|
578
|
-
readonly $ref: "#/definitions/EntryRuntime";
|
|
579
|
-
};
|
|
580
|
-
readonly shareScope: {
|
|
581
|
-
readonly description: "The name of the share scope which is shared with the host (defaults to 'default').";
|
|
582
|
-
readonly anyOf: readonly [{
|
|
583
|
-
readonly type: "string";
|
|
584
|
-
readonly minLength: 1;
|
|
585
|
-
}, {
|
|
586
|
-
readonly type: "array";
|
|
587
|
-
readonly items: {
|
|
588
|
-
readonly type: "string";
|
|
589
|
-
readonly minLength: 1;
|
|
590
|
-
};
|
|
591
|
-
}];
|
|
592
|
-
};
|
|
593
|
-
readonly shareStrategy: {
|
|
594
|
-
readonly description: "Strategy for resolving shared modules";
|
|
595
|
-
readonly enum: readonly ["version-first", "loaded-first"];
|
|
596
|
-
readonly type: "string";
|
|
597
|
-
};
|
|
598
|
-
readonly shared: {
|
|
599
|
-
readonly $ref: "#/definitions/Shared";
|
|
600
|
-
};
|
|
601
|
-
readonly dts: {
|
|
602
|
-
readonly description: "TypeScript declaration file generation options";
|
|
603
|
-
readonly anyOf: readonly [{
|
|
604
|
-
readonly type: "boolean";
|
|
605
|
-
}, {
|
|
606
|
-
readonly type: "object";
|
|
607
|
-
readonly properties: {
|
|
608
|
-
readonly generateTypes: {
|
|
609
|
-
readonly anyOf: readonly [{
|
|
610
|
-
readonly type: "boolean";
|
|
611
|
-
}, {
|
|
612
|
-
readonly type: "object";
|
|
613
|
-
readonly properties: {
|
|
614
|
-
readonly tsConfigPath: {
|
|
615
|
-
readonly type: "string";
|
|
616
|
-
};
|
|
617
|
-
readonly typesFolder: {
|
|
618
|
-
readonly type: "string";
|
|
619
|
-
};
|
|
620
|
-
readonly compiledTypesFolder: {
|
|
621
|
-
readonly type: "string";
|
|
622
|
-
};
|
|
623
|
-
readonly deleteTypesFolder: {
|
|
624
|
-
readonly type: "boolean";
|
|
625
|
-
};
|
|
626
|
-
readonly additionalFilesToCompile: {
|
|
627
|
-
readonly type: "array";
|
|
628
|
-
readonly items: {
|
|
629
|
-
readonly type: "string";
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
readonly compileInChildProcess: {
|
|
633
|
-
readonly type: "boolean";
|
|
634
|
-
};
|
|
635
|
-
readonly compilerInstance: {
|
|
636
|
-
readonly type: "string";
|
|
637
|
-
};
|
|
638
|
-
readonly generateAPITypes: {
|
|
639
|
-
readonly type: "boolean";
|
|
640
|
-
};
|
|
641
|
-
readonly extractThirdParty: {
|
|
642
|
-
readonly anyOf: readonly [{
|
|
643
|
-
readonly type: "boolean";
|
|
644
|
-
}, {
|
|
645
|
-
readonly type: "object";
|
|
646
|
-
readonly properties: {
|
|
647
|
-
readonly exclude: {
|
|
648
|
-
readonly type: "array";
|
|
649
|
-
readonly items: {
|
|
650
|
-
readonly anyOf: readonly [{
|
|
651
|
-
readonly type: "string";
|
|
652
|
-
}, {
|
|
653
|
-
readonly instanceof: "RegExp";
|
|
654
|
-
}];
|
|
655
|
-
};
|
|
656
|
-
};
|
|
657
|
-
};
|
|
658
|
-
readonly additionalProperties: false;
|
|
659
|
-
}];
|
|
660
|
-
};
|
|
661
|
-
readonly extractRemoteTypes: {
|
|
662
|
-
readonly type: "boolean";
|
|
663
|
-
};
|
|
664
|
-
readonly abortOnError: {
|
|
665
|
-
readonly type: "boolean";
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
}];
|
|
669
|
-
};
|
|
670
|
-
readonly consumeTypes: {
|
|
671
|
-
readonly anyOf: readonly [{
|
|
672
|
-
readonly type: "boolean";
|
|
673
|
-
}, {
|
|
674
|
-
readonly type: "object";
|
|
675
|
-
readonly properties: {
|
|
676
|
-
readonly typesFolder: {
|
|
677
|
-
readonly type: "string";
|
|
678
|
-
};
|
|
679
|
-
readonly abortOnError: {
|
|
680
|
-
readonly type: "boolean";
|
|
681
|
-
};
|
|
682
|
-
readonly remoteTypesFolder: {
|
|
683
|
-
readonly type: "string";
|
|
684
|
-
};
|
|
685
|
-
readonly deleteTypesFolder: {
|
|
686
|
-
readonly type: "boolean";
|
|
687
|
-
};
|
|
688
|
-
readonly maxRetries: {
|
|
689
|
-
readonly type: "number";
|
|
690
|
-
};
|
|
691
|
-
readonly consumeAPITypes: {
|
|
692
|
-
readonly type: "boolean";
|
|
693
|
-
};
|
|
694
|
-
readonly runtimePkgs: {
|
|
695
|
-
readonly type: "array";
|
|
696
|
-
readonly items: {
|
|
697
|
-
readonly type: "string";
|
|
698
|
-
};
|
|
699
|
-
};
|
|
700
|
-
readonly remoteTypeUrls: {
|
|
701
|
-
readonly description: "Remote type URLs provider or map";
|
|
702
|
-
readonly anyOf: readonly [{
|
|
703
|
-
readonly instanceof: "Function";
|
|
704
|
-
}, {
|
|
705
|
-
readonly type: "object";
|
|
706
|
-
readonly additionalProperties: {
|
|
707
|
-
readonly type: "object";
|
|
708
|
-
readonly properties: {
|
|
709
|
-
readonly alias: {
|
|
710
|
-
readonly type: "string";
|
|
711
|
-
};
|
|
712
|
-
readonly api: {
|
|
713
|
-
readonly type: "string";
|
|
714
|
-
};
|
|
715
|
-
readonly zip: {
|
|
716
|
-
readonly type: "string";
|
|
717
|
-
};
|
|
718
|
-
};
|
|
719
|
-
readonly required: readonly ["api", "zip"];
|
|
720
|
-
readonly additionalProperties: false;
|
|
721
|
-
};
|
|
722
|
-
}];
|
|
723
|
-
};
|
|
724
|
-
readonly timeout: {
|
|
725
|
-
readonly type: "number";
|
|
726
|
-
};
|
|
727
|
-
readonly family: {
|
|
728
|
-
readonly enum: readonly [4, 6];
|
|
729
|
-
};
|
|
730
|
-
readonly typesOnBuild: {
|
|
731
|
-
readonly type: "boolean";
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
}];
|
|
735
|
-
};
|
|
736
|
-
readonly tsConfigPath: {
|
|
737
|
-
readonly type: "string";
|
|
738
|
-
};
|
|
739
|
-
readonly extraOptions: {
|
|
740
|
-
readonly type: "object";
|
|
741
|
-
};
|
|
742
|
-
readonly implementation: {
|
|
743
|
-
readonly type: "string";
|
|
744
|
-
};
|
|
745
|
-
readonly cwd: {
|
|
746
|
-
readonly type: "string";
|
|
747
|
-
};
|
|
748
|
-
readonly displayErrorInTerminal: {
|
|
749
|
-
readonly type: "boolean";
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
}];
|
|
748
|
+
};
|
|
749
|
+
readonly displayErrorInTerminal: {
|
|
750
|
+
readonly type: "boolean";
|
|
751
|
+
};
|
|
753
752
|
};
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
};
|
|
779
|
-
};
|
|
780
|
-
readonly additionalProperties: false;
|
|
781
|
-
};
|
|
753
|
+
}];
|
|
754
|
+
};
|
|
755
|
+
readonly experiments: {
|
|
756
|
+
readonly type: "object";
|
|
757
|
+
readonly properties: {
|
|
758
|
+
readonly asyncStartup: {
|
|
759
|
+
readonly description: "Enable async startup for the container";
|
|
760
|
+
readonly type: "boolean";
|
|
761
|
+
};
|
|
762
|
+
readonly externalRuntime: {
|
|
763
|
+
readonly description: "Externalize '@module-federation/runtime-core' and expect global '_FEDERATION_RUNTIME_CORE' at runtime.";
|
|
764
|
+
readonly type: "boolean";
|
|
765
|
+
};
|
|
766
|
+
readonly provideExternalRuntime: {
|
|
767
|
+
readonly description: "Provide external runtime injection for pure consumer builds (no `exposes`). When enabled, automatically adds '@module-federation/inject-external-runtime-core-plugin'. Throws error if used together with exposes.";
|
|
768
|
+
readonly type: "boolean";
|
|
769
|
+
};
|
|
770
|
+
readonly optimization: {
|
|
771
|
+
readonly description: "Options related to build optimizations.";
|
|
772
|
+
readonly type: "object";
|
|
773
|
+
readonly properties: {
|
|
774
|
+
readonly disableSnapshot: {
|
|
775
|
+
readonly description: "Enable optimization to skip snapshot plugin";
|
|
776
|
+
readonly type: "boolean";
|
|
782
777
|
};
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
readonly type: "object";
|
|
787
|
-
readonly properties: {
|
|
788
|
-
readonly enableBridgeRouter: {
|
|
789
|
-
readonly description: "Enables bridge router functionality for React applications. When enabled, automatically handles routing context and basename injection for micro-frontend applications using react-router-dom.";
|
|
790
|
-
readonly type: "boolean";
|
|
791
|
-
readonly default: false;
|
|
792
|
-
};
|
|
793
|
-
readonly disableAlias: {
|
|
794
|
-
readonly description: "[Deprecated] Use `enableBridgeRouter: false` instead. Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.";
|
|
795
|
-
readonly type: "boolean";
|
|
796
|
-
readonly default: false;
|
|
797
|
-
};
|
|
778
|
+
readonly target: {
|
|
779
|
+
readonly description: "Target environment for the build";
|
|
780
|
+
readonly enum: readonly ["web", "node"];
|
|
798
781
|
};
|
|
799
|
-
|
|
782
|
+
};
|
|
783
|
+
readonly additionalProperties: false;
|
|
800
784
|
};
|
|
801
|
-
|
|
802
|
-
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
readonly bridge: {
|
|
788
|
+
readonly description: "Bridge configuration options";
|
|
789
|
+
readonly type: "object";
|
|
790
|
+
readonly properties: {
|
|
791
|
+
readonly enableBridgeRouter: {
|
|
792
|
+
readonly description: "Enables bridge router functionality for React applications. When enabled, automatically handles routing context and basename injection for micro-frontend applications using react-router-dom.";
|
|
793
|
+
readonly type: "boolean";
|
|
794
|
+
readonly default: false;
|
|
795
|
+
};
|
|
796
|
+
readonly disableAlias: {
|
|
797
|
+
readonly description: "[Deprecated] Use `enableBridgeRouter: false` instead. Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.";
|
|
798
|
+
readonly type: "boolean";
|
|
799
|
+
readonly default: false;
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
readonly additionalProperties: false;
|
|
803
|
+
};
|
|
804
|
+
readonly virtualRuntimeEntry: {
|
|
805
|
+
readonly description: "Uses a virtual module instead of a file for federation runtime entry";
|
|
806
|
+
readonly type: "boolean";
|
|
807
|
+
};
|
|
808
|
+
readonly dev: {
|
|
809
|
+
readonly description: "Development mode configuration options";
|
|
810
|
+
readonly anyOf: readonly [{
|
|
811
|
+
readonly type: "boolean";
|
|
812
|
+
}, {
|
|
813
|
+
readonly type: "object";
|
|
814
|
+
readonly properties: {
|
|
815
|
+
readonly disableLiveReload: {
|
|
816
|
+
readonly description: "Disable live reload for development mode";
|
|
803
817
|
readonly type: "boolean";
|
|
818
|
+
};
|
|
819
|
+
readonly disableHotTypesReload: {
|
|
820
|
+
readonly description: "Disable hot types reload for development mode";
|
|
821
|
+
readonly type: "boolean";
|
|
822
|
+
};
|
|
823
|
+
readonly disableDynamicRemoteTypeHints: {
|
|
824
|
+
readonly description: "Disable dynamic remote type hints for development mode";
|
|
825
|
+
readonly type: "boolean";
|
|
826
|
+
};
|
|
804
827
|
};
|
|
805
|
-
readonly
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
readonly description: "Disable hot types reload for development mode";
|
|
818
|
-
readonly type: "boolean";
|
|
819
|
-
};
|
|
820
|
-
readonly disableDynamicRemoteTypeHints: {
|
|
821
|
-
readonly description: "Disable dynamic remote type hints for development mode";
|
|
822
|
-
readonly type: "boolean";
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
readonly additionalProperties: false;
|
|
826
|
-
}];
|
|
827
|
-
};
|
|
828
|
-
readonly manifest: {
|
|
829
|
-
readonly description: "Manifest generation configuration options. IMPORTANT: When using this option, you must set a string value for `output.publicPath` in your webpack configuration.";
|
|
830
|
-
readonly anyOf: readonly [{
|
|
831
|
-
readonly type: "boolean";
|
|
832
|
-
}, {
|
|
833
|
-
readonly type: "object";
|
|
834
|
-
readonly properties: {
|
|
835
|
-
readonly filePath: {
|
|
836
|
-
readonly description: "Path where the manifest file will be generated";
|
|
837
|
-
readonly type: "string";
|
|
838
|
-
};
|
|
839
|
-
readonly disableAssetsAnalyze: {
|
|
840
|
-
readonly description: "Disable assets analyze for manifest generation";
|
|
841
|
-
readonly type: "boolean";
|
|
842
|
-
};
|
|
843
|
-
readonly fileName: {
|
|
844
|
-
readonly description: "Name of the manifest file";
|
|
845
|
-
readonly type: "string";
|
|
846
|
-
};
|
|
847
|
-
readonly additionalData: {
|
|
848
|
-
readonly description: "Function that provides additional data to the manifest";
|
|
849
|
-
readonly instanceof: "Function";
|
|
850
|
-
};
|
|
851
|
-
};
|
|
852
|
-
readonly additionalProperties: false;
|
|
853
|
-
}];
|
|
854
|
-
};
|
|
855
|
-
readonly runtimePlugins: {
|
|
856
|
-
readonly description: "Runtime plugin file paths or package names to be included in federation runtime";
|
|
857
|
-
readonly type: "array";
|
|
858
|
-
readonly items: {
|
|
859
|
-
readonly anyOf: readonly [{
|
|
860
|
-
readonly type: "string";
|
|
861
|
-
}, {
|
|
862
|
-
readonly type: "array";
|
|
863
|
-
readonly items: readonly [{
|
|
864
|
-
readonly type: "string";
|
|
865
|
-
}, {
|
|
866
|
-
readonly type: "object";
|
|
867
|
-
}];
|
|
868
|
-
readonly minItems: 2;
|
|
869
|
-
readonly maxItems: 2;
|
|
870
|
-
}];
|
|
871
|
-
};
|
|
872
|
-
};
|
|
873
|
-
readonly getPublicPath: {
|
|
874
|
-
readonly description: "Custom public path function for remote entry";
|
|
828
|
+
readonly additionalProperties: false;
|
|
829
|
+
}];
|
|
830
|
+
};
|
|
831
|
+
readonly manifest: {
|
|
832
|
+
readonly description: "Manifest generation configuration options. IMPORTANT: When using this option, you must set a string value for `output.publicPath` in your webpack configuration.";
|
|
833
|
+
readonly anyOf: readonly [{
|
|
834
|
+
readonly type: "boolean";
|
|
835
|
+
}, {
|
|
836
|
+
readonly type: "object";
|
|
837
|
+
readonly properties: {
|
|
838
|
+
readonly filePath: {
|
|
839
|
+
readonly description: "Path where the manifest file will be generated";
|
|
875
840
|
readonly type: "string";
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
readonly description: "
|
|
841
|
+
};
|
|
842
|
+
readonly disableAssetsAnalyze: {
|
|
843
|
+
readonly description: "Disable assets analyze for manifest generation";
|
|
879
844
|
readonly type: "boolean";
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
readonly description: "
|
|
845
|
+
};
|
|
846
|
+
readonly fileName: {
|
|
847
|
+
readonly description: "Name of the manifest file";
|
|
883
848
|
readonly type: "string";
|
|
884
|
-
|
|
849
|
+
};
|
|
850
|
+
readonly additionalData: {
|
|
851
|
+
readonly description: "Function that provides additional data to the manifest";
|
|
852
|
+
readonly instanceof: "Function";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
readonly additionalProperties: false;
|
|
856
|
+
}];
|
|
857
|
+
};
|
|
858
|
+
readonly runtimePlugins: {
|
|
859
|
+
readonly description: "Runtime plugin file paths or package names to be included in federation runtime";
|
|
860
|
+
readonly type: "array";
|
|
861
|
+
readonly items: {
|
|
862
|
+
readonly anyOf: readonly [{
|
|
863
|
+
readonly type: "string";
|
|
864
|
+
}, {
|
|
865
|
+
readonly type: "array";
|
|
866
|
+
readonly items: readonly [{
|
|
867
|
+
readonly type: "string";
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "object";
|
|
870
|
+
}];
|
|
871
|
+
readonly minItems: 2;
|
|
872
|
+
readonly maxItems: 2;
|
|
873
|
+
}];
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
readonly getPublicPath: {
|
|
877
|
+
readonly description: "Stringified function or return expression to compute dynamic publicPath. Effective only when 'exposes' is set. Example: `function(){ return window.cdn_prefix }` or `return 'https://cdn.example.com/app/'`.";
|
|
878
|
+
readonly type: "string";
|
|
879
|
+
};
|
|
880
|
+
readonly dataPrefetch: {
|
|
881
|
+
readonly description: "Whether enable data prefetch";
|
|
882
|
+
readonly type: "boolean";
|
|
883
|
+
};
|
|
884
|
+
readonly implementation: {
|
|
885
|
+
readonly description: "Bundler runtime path";
|
|
886
|
+
readonly type: "string";
|
|
885
887
|
};
|
|
888
|
+
};
|
|
886
889
|
};
|
|
887
|
-
|
|
890
|
+
//#endregion
|
|
891
|
+
export { _default as default };
|
|
892
|
+
//# sourceMappingURL=ModuleFederationPlugin.d.ts.map
|