@module-federation/enhanced 0.1.5 → 0.1.7

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.
Files changed (194) hide show
  1. package/dist/package.json +67 -0
  2. package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +57 -0
  3. package/dist/src/declarations/plugins/container/Dependency.d.ts +285 -0
  4. package/dist/src/declarations/plugins/container/Module.d.ts +138 -0
  5. package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +33 -0
  6. package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +4 -0
  7. package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +28 -0
  8. package/dist/src/declarations/plugins/container/Template.d.ts +198 -0
  9. package/dist/src/declarations/plugins/container/WebpackError.d.ts +32 -0
  10. package/dist/src/declarations/plugins/container/WebpackOptions.d.ts +140 -0
  11. package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +74 -0
  12. package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +67 -0
  13. package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +78 -0
  14. package/dist/src/index.d.ts +14 -0
  15. package/dist/src/index.js +37 -0
  16. package/dist/src/index.js.map +1 -0
  17. package/dist/src/lib/Constants.d.ts +117 -0
  18. package/dist/src/lib/Constants.js +125 -0
  19. package/dist/src/lib/Constants.js.map +1 -0
  20. package/dist/src/lib/RuntimeGlobals.d.ts +0 -0
  21. package/dist/src/lib/RuntimeGlobals.js +316 -0
  22. package/dist/src/lib/RuntimeGlobals.js.map +1 -0
  23. package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -0
  24. package/dist/src/lib/container/AsyncBoundaryPlugin.js +183 -0
  25. package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -0
  26. package/dist/src/lib/container/ContainerEntryDependency.d.ts +24 -0
  27. package/dist/src/lib/container/ContainerEntryDependency.js +39 -0
  28. package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -0
  29. package/dist/src/lib/container/ContainerEntryModule.d.ts +75 -0
  30. package/dist/src/lib/container/ContainerEntryModule.js +250 -0
  31. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -0
  32. package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -0
  33. package/dist/src/lib/container/ContainerEntryModuleFactory.js +30 -0
  34. package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -0
  35. package/dist/src/lib/container/ContainerExposedDependency.d.ts +19 -0
  36. package/dist/src/lib/container/ContainerExposedDependency.js +49 -0
  37. package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -0
  38. package/dist/src/lib/container/ContainerPlugin.d.ts +13 -0
  39. package/dist/src/lib/container/ContainerPlugin.js +185 -0
  40. package/dist/src/lib/container/ContainerPlugin.js.map +1 -0
  41. package/dist/src/lib/container/ContainerReferencePlugin.d.ts +14 -0
  42. package/dist/src/lib/container/ContainerReferencePlugin.js +102 -0
  43. package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -0
  44. package/dist/src/lib/container/FallbackDependency.d.ts +15 -0
  45. package/dist/src/lib/container/FallbackDependency.js +47 -0
  46. package/dist/src/lib/container/FallbackDependency.js.map +1 -0
  47. package/dist/src/lib/container/FallbackItemDependency.d.ts +3 -0
  48. package/dist/src/lib/container/FallbackItemDependency.js +26 -0
  49. package/dist/src/lib/container/FallbackItemDependency.js.map +1 -0
  50. package/dist/src/lib/container/FallbackModule.d.ts +54 -0
  51. package/dist/src/lib/container/FallbackModule.js +152 -0
  52. package/dist/src/lib/container/FallbackModule.js.map +1 -0
  53. package/dist/src/lib/container/FallbackModuleFactory.d.ts +11 -0
  54. package/dist/src/lib/container/FallbackModuleFactory.js +28 -0
  55. package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -0
  56. package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +14 -0
  57. package/dist/src/lib/container/HoistContainerReferencesPlugin.js +61 -0
  58. package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -0
  59. package/dist/src/lib/container/ModuleFederationPlugin.d.ts +16 -0
  60. package/dist/src/lib/container/ModuleFederationPlugin.js +122 -0
  61. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -0
  62. package/dist/src/lib/container/RemoteModule.d.ts +90 -0
  63. package/dist/src/lib/container/RemoteModule.js +148 -0
  64. package/dist/src/lib/container/RemoteModule.js.map +1 -0
  65. package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -0
  66. package/dist/src/lib/container/RemoteRuntimeModule.js +101 -0
  67. package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -0
  68. package/dist/src/lib/container/RemoteToExternalDependency.d.ts +4 -0
  69. package/dist/src/lib/container/RemoteToExternalDependency.js +26 -0
  70. package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -0
  71. package/dist/src/lib/container/constant.d.ts +3 -0
  72. package/dist/src/lib/container/constant.js +12 -0
  73. package/dist/src/lib/container/constant.js.map +1 -0
  74. package/dist/src/lib/container/options.d.ts +26 -0
  75. package/dist/src/lib/container/options.js +81 -0
  76. package/dist/src/lib/container/options.js.map +1 -0
  77. package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +13 -0
  78. package/dist/src/lib/container/runtime/FederationRuntimeModule.js +27 -0
  79. package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -0
  80. package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +17 -0
  81. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +209 -0
  82. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -0
  83. package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +5 -0
  84. package/dist/src/lib/container/runtime/getFederationGlobal.js +24 -0
  85. package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -0
  86. package/dist/src/lib/container/runtime/utils.d.ts +16 -0
  87. package/dist/src/lib/container/runtime/utils.js +83 -0
  88. package/dist/src/lib/container/runtime/utils.js.map +1 -0
  89. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +3 -0
  90. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +26 -0
  91. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -0
  92. package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +99 -0
  93. package/dist/src/lib/sharing/ConsumeSharedModule.js +206 -0
  94. package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -0
  95. package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +30 -0
  96. package/dist/src/lib/sharing/ConsumeSharedPlugin.js +245 -0
  97. package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -0
  98. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +31 -0
  99. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +124 -0
  100. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -0
  101. package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +3 -0
  102. package/dist/src/lib/sharing/ProvideForSharedDependency.js +27 -0
  103. package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -0
  104. package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +36 -0
  105. package/dist/src/lib/sharing/ProvideSharedDependency.js +70 -0
  106. package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -0
  107. package/dist/src/lib/sharing/ProvideSharedModule.d.ts +67 -0
  108. package/dist/src/lib/sharing/ProvideSharedModule.js +186 -0
  109. package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -0
  110. package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +18 -0
  111. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +30 -0
  112. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -0
  113. package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +47 -0
  114. package/dist/src/lib/sharing/ProvideSharedPlugin.js +195 -0
  115. package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -0
  116. package/dist/src/lib/sharing/SharePlugin.d.ts +41 -0
  117. package/dist/src/lib/sharing/SharePlugin.js +79 -0
  118. package/dist/src/lib/sharing/SharePlugin.js.map +1 -0
  119. package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +14 -0
  120. package/dist/src/lib/sharing/ShareRuntimeModule.js +102 -0
  121. package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -0
  122. package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +12 -0
  123. package/dist/src/lib/sharing/resolveMatchedConfigs.js +66 -0
  124. package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -0
  125. package/dist/src/lib/sharing/utils.d.ts +37 -0
  126. package/dist/src/lib/sharing/utils.js +359 -0
  127. package/dist/src/lib/sharing/utils.js.map +1 -0
  128. package/dist/src/rspack.d.ts +1 -0
  129. package/dist/src/rspack.js +6 -0
  130. package/dist/src/rspack.js.map +1 -0
  131. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +5 -0
  132. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -0
  133. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -0
  134. package/dist/src/runtime.d.ts +1 -0
  135. package/dist/src/runtime.js +18 -0
  136. package/dist/src/runtime.js.map +1 -0
  137. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +7 -0
  138. package/dist/src/schemas/container/ContainerPlugin.check.js +2318 -0
  139. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -0
  140. package/dist/src/schemas/container/ContainerPlugin.d.ts +289 -0
  141. package/dist/src/schemas/container/ContainerPlugin.js +326 -0
  142. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -0
  143. package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +7 -0
  144. package/dist/src/schemas/container/ContainerReferencePlugin.check.js +939 -0
  145. package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -0
  146. package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +87 -0
  147. package/dist/src/schemas/container/ContainerReferencePlugin.js +132 -0
  148. package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -0
  149. package/dist/src/schemas/container/ModuleFederationPlugin.check.d.ts +9 -0
  150. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +4001 -0
  151. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -0
  152. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +626 -0
  153. package/dist/src/schemas/container/ModuleFederationPlugin.js +720 -0
  154. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -0
  155. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +7 -0
  156. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +434 -0
  157. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -0
  158. package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +104 -0
  159. package/dist/src/schemas/sharing/ProviderSharedPlugin.js +119 -0
  160. package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -0
  161. package/dist/src/types/runtime.d.ts +7 -0
  162. package/dist/src/types/runtime.js +3 -0
  163. package/dist/src/types/runtime.js.map +1 -0
  164. package/dist/src/webpack.d.ts +1 -0
  165. package/dist/src/webpack.js +9 -0
  166. package/dist/src/webpack.js.map +1 -0
  167. package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +8 -0
  168. package/dist/src/wrapper/AsyncBoundaryPlugin.js +19 -0
  169. package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -0
  170. package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +8 -0
  171. package/dist/src/wrapper/ConsumeSharedPlugin.js +19 -0
  172. package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -0
  173. package/dist/src/wrapper/ContainerPlugin.d.ts +8 -0
  174. package/dist/src/wrapper/ContainerPlugin.js +19 -0
  175. package/dist/src/wrapper/ContainerPlugin.js.map +1 -0
  176. package/dist/src/wrapper/ContainerReferencePlugin.d.ts +8 -0
  177. package/dist/src/wrapper/ContainerReferencePlugin.js +19 -0
  178. package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -0
  179. package/dist/src/wrapper/FederationRuntimePlugin.d.ts +9 -0
  180. package/dist/src/wrapper/FederationRuntimePlugin.js +22 -0
  181. package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -0
  182. package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +6 -0
  183. package/dist/src/wrapper/HoistContainerReferencesPlugin.js +18 -0
  184. package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -0
  185. package/dist/src/wrapper/ModuleFederationPlugin.d.ts +8 -0
  186. package/dist/src/wrapper/ModuleFederationPlugin.js +24 -0
  187. package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -0
  188. package/dist/src/wrapper/ProvideSharedPlugin.d.ts +8 -0
  189. package/dist/src/wrapper/ProvideSharedPlugin.js +19 -0
  190. package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -0
  191. package/dist/src/wrapper/SharePlugin.d.ts +8 -0
  192. package/dist/src/wrapper/SharePlugin.js +19 -0
  193. package/dist/src/wrapper/SharePlugin.js.map +1 -0
  194. package/package.json +8 -8
@@ -0,0 +1,117 @@
1
+ /**
2
+ * @type {Readonly<"javascript/auto">}
3
+ */
4
+ export declare const JAVASCRIPT_MODULE_TYPE_AUTO: Readonly<'javascript/auto'>;
5
+ /**
6
+ * @type {Readonly<"javascript/dynamic">}
7
+ */
8
+ export declare const JAVASCRIPT_MODULE_TYPE_DYNAMIC: Readonly<'javascript/dynamic'>;
9
+ /**
10
+ * @type {Readonly<"javascript/esm">}
11
+ * This is the module type used for _strict_ ES Module syntax. This means that all legacy formats
12
+ * that webpack supports (CommonJS, AMD, SystemJS) are not supported.
13
+ */
14
+ export declare const JAVASCRIPT_MODULE_TYPE_ESM: Readonly<'javascript/esm'>;
15
+ /**
16
+ * @type {Readonly<"json">}
17
+ * This is the module type used for JSON files. JSON files are always parsed as ES Module.
18
+ */
19
+ export declare const JSON_MODULE_TYPE: Readonly<'json'>;
20
+ /**
21
+ * @type {Readonly<"webassembly/async">}
22
+ * This is the module type used for WebAssembly modules. In webpack 5 they are always treated as async modules.
23
+ *
24
+ */
25
+ export declare const WEBASSEMBLY_MODULE_TYPE_ASYNC: Readonly<'webassembly/async'>;
26
+ /**
27
+ * @type {Readonly<"webassembly/sync">}
28
+ * This is the module type used for WebAssembly modules. In webpack 4 they are always treated as sync modules.
29
+ * There is a legacy option to support this usage in webpack 5 and up.
30
+ */
31
+ export declare const WEBASSEMBLY_MODULE_TYPE_SYNC: Readonly<'webassembly/sync'>;
32
+ /**
33
+ * @type {Readonly<"css">}
34
+ * This is the module type used for CSS files.
35
+ */
36
+ export declare const CSS_MODULE_TYPE: Readonly<'css'>;
37
+ /**
38
+ * @type {Readonly<"css/global">}
39
+ * This is the module type used for CSS modules files where you need to use `:local` in selector list to hash classes.
40
+ */
41
+ export declare const CSS_MODULE_TYPE_GLOBAL: Readonly<'css/global'>;
42
+ /**
43
+ * @type {Readonly<"css/module">}
44
+ * This is the module type used for CSS modules files, by default all classes are hashed.
45
+ */
46
+ export declare const CSS_MODULE_TYPE_MODULE: Readonly<'css/module'>;
47
+ /**
48
+ * @type {Readonly<"css/auto">}
49
+ * This is the module type used for CSS files, the module will be parsed as CSS modules if it's filename contains `.module.` or `.modules.`.
50
+ */
51
+ export declare const CSS_MODULE_TYPE_AUTO: Readonly<'css/auto'>;
52
+ /**
53
+ * @type {Readonly<"asset">}
54
+ * This is the module type used for automatically choosing between `asset/inline`, `asset/resource` based on asset size limit (8096).
55
+ */
56
+ export declare const ASSET_MODULE_TYPE: Readonly<'asset'>;
57
+ /**
58
+ * @type {Readonly<"asset/inline">}
59
+ * This is the module type used for assets that are inlined as a data URI. This is the equivalent of `url-loader`.
60
+ */
61
+ export declare const ASSET_MODULE_TYPE_INLINE: Readonly<'asset/inline'>;
62
+ /**
63
+ * @type {Readonly<"asset/resource">}
64
+ * This is the module type used for assets that are copied to the output directory. This is the equivalent of `file-loader`.
65
+ */
66
+ export declare const ASSET_MODULE_TYPE_RESOURCE: Readonly<'asset/resource'>;
67
+ /**
68
+ * @type {Readonly<"asset/source">}
69
+ * This is the module type used for assets that are imported as source code. This is the equivalent of `raw-loader`.
70
+ */
71
+ export declare const ASSET_MODULE_TYPE_SOURCE: Readonly<'asset/source'>;
72
+ /**
73
+ * @type {Readonly<"asset/raw-data-url">}
74
+ * TODO: Document what this asset type is for. See css-loader tests for its usage.
75
+ */
76
+ export declare const ASSET_MODULE_TYPE_RAW_DATA_URL: Readonly<'asset/raw-data-url'>;
77
+ /**
78
+ * @type {Readonly<"runtime">}
79
+ * This is the module type used for the webpack runtime abstractions.
80
+ */
81
+ export declare const WEBPACK_MODULE_TYPE_RUNTIME: Readonly<'runtime'>;
82
+ /**
83
+ * @type {Readonly<"fallback-module">}
84
+ * This is the module type used for the ModuleFederation feature's FallbackModule class.
85
+ * TODO: Document this better.
86
+ */
87
+ export declare const WEBPACK_MODULE_TYPE_FALLBACK: Readonly<'fallback-module'>;
88
+ /**
89
+ * @type {Readonly<"remote-module">}
90
+ * This is the module type used for the ModuleFederation feature's RemoteModule class.
91
+ * TODO: Document this better.
92
+ */
93
+ export declare const WEBPACK_MODULE_TYPE_REMOTE: Readonly<'remote-module'>;
94
+ /**
95
+ * @type {Readonly<"provide-module">}
96
+ * This is the module type used for the ModuleFederation feature's ProvideModule class.
97
+ * TODO: Document this better.
98
+ */
99
+ export declare const WEBPACK_MODULE_TYPE_PROVIDE: Readonly<'provide-module'>;
100
+ /**
101
+ * @type {Readonly<"consume-shared-module">}
102
+ * This is the module type used for the ModuleFederation feature's ConsumeSharedModule class.
103
+ */
104
+ export declare const WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE: Readonly<'consume-shared-module'>;
105
+ /**
106
+ * @type {Readonly<"lazy-compilation-proxy">}
107
+ * Module type used for `experiments.lazyCompilation` feature. See `LazyCompilationPlugin` for more information.
108
+ */
109
+ export declare const WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY: Readonly<'lazy-compilation-proxy'>;
110
+ /** @typedef {"javascript/auto" | "javascript/dynamic" | "javascript/esm"} JavaScriptModuleTypes */
111
+ /** @typedef {"json"} JSONModuleType */
112
+ /** @typedef {"webassembly/async" | "webassembly/sync"} WebAssemblyModuleTypes */
113
+ /** @typedef {"css" | "css/global" | "css/module"} CSSModuleTypes */
114
+ /** @typedef {"asset" | "asset/inline" | "asset/resource" | "asset/source" | "asset/raw-data-url"} AssetModuleTypes */
115
+ /** @typedef {"runtime" | "fallback-module" | "remote-module" | "provide-module" | "consume-shared-module" | "lazy-compilation-proxy"} WebpackModuleTypes */
116
+ /** @typedef {string} UnknownModuleTypes */
117
+ /** @typedef {JavaScriptModuleTypes | JSONModuleType | WebAssemblyModuleTypes | CSSModuleTypes | AssetModuleTypes | WebpackModuleTypes | UnknownModuleTypes} ModuleTypes */
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ /*
3
+ MIT License http://www.opensource.org/licenses/mit-license.php
4
+ Author Sean Larkin @TheLarkInn
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY = exports.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE = exports.WEBPACK_MODULE_TYPE_PROVIDE = exports.WEBPACK_MODULE_TYPE_REMOTE = exports.WEBPACK_MODULE_TYPE_FALLBACK = exports.WEBPACK_MODULE_TYPE_RUNTIME = exports.ASSET_MODULE_TYPE_RAW_DATA_URL = exports.ASSET_MODULE_TYPE_SOURCE = exports.ASSET_MODULE_TYPE_RESOURCE = exports.ASSET_MODULE_TYPE_INLINE = exports.ASSET_MODULE_TYPE = exports.CSS_MODULE_TYPE_AUTO = exports.CSS_MODULE_TYPE_MODULE = exports.CSS_MODULE_TYPE_GLOBAL = exports.CSS_MODULE_TYPE = exports.WEBASSEMBLY_MODULE_TYPE_SYNC = exports.WEBASSEMBLY_MODULE_TYPE_ASYNC = exports.JSON_MODULE_TYPE = exports.JAVASCRIPT_MODULE_TYPE_ESM = exports.JAVASCRIPT_MODULE_TYPE_DYNAMIC = exports.JAVASCRIPT_MODULE_TYPE_AUTO = void 0;
8
+ /**
9
+ * @type {Readonly<"javascript/auto">}
10
+ */
11
+ exports.JAVASCRIPT_MODULE_TYPE_AUTO = 'javascript/auto';
12
+ /**
13
+ * @type {Readonly<"javascript/dynamic">}
14
+ */
15
+ exports.JAVASCRIPT_MODULE_TYPE_DYNAMIC = 'javascript/dynamic';
16
+ /**
17
+ * @type {Readonly<"javascript/esm">}
18
+ * This is the module type used for _strict_ ES Module syntax. This means that all legacy formats
19
+ * that webpack supports (CommonJS, AMD, SystemJS) are not supported.
20
+ */
21
+ exports.JAVASCRIPT_MODULE_TYPE_ESM = 'javascript/esm';
22
+ /**
23
+ * @type {Readonly<"json">}
24
+ * This is the module type used for JSON files. JSON files are always parsed as ES Module.
25
+ */
26
+ exports.JSON_MODULE_TYPE = 'json';
27
+ /**
28
+ * @type {Readonly<"webassembly/async">}
29
+ * This is the module type used for WebAssembly modules. In webpack 5 they are always treated as async modules.
30
+ *
31
+ */
32
+ exports.WEBASSEMBLY_MODULE_TYPE_ASYNC = 'webassembly/async';
33
+ /**
34
+ * @type {Readonly<"webassembly/sync">}
35
+ * This is the module type used for WebAssembly modules. In webpack 4 they are always treated as sync modules.
36
+ * There is a legacy option to support this usage in webpack 5 and up.
37
+ */
38
+ exports.WEBASSEMBLY_MODULE_TYPE_SYNC = 'webassembly/sync';
39
+ /**
40
+ * @type {Readonly<"css">}
41
+ * This is the module type used for CSS files.
42
+ */
43
+ exports.CSS_MODULE_TYPE = 'css';
44
+ /**
45
+ * @type {Readonly<"css/global">}
46
+ * This is the module type used for CSS modules files where you need to use `:local` in selector list to hash classes.
47
+ */
48
+ exports.CSS_MODULE_TYPE_GLOBAL = 'css/global';
49
+ /**
50
+ * @type {Readonly<"css/module">}
51
+ * This is the module type used for CSS modules files, by default all classes are hashed.
52
+ */
53
+ exports.CSS_MODULE_TYPE_MODULE = 'css/module';
54
+ /**
55
+ * @type {Readonly<"css/auto">}
56
+ * This is the module type used for CSS files, the module will be parsed as CSS modules if it's filename contains `.module.` or `.modules.`.
57
+ */
58
+ exports.CSS_MODULE_TYPE_AUTO = 'css/auto';
59
+ /**
60
+ * @type {Readonly<"asset">}
61
+ * This is the module type used for automatically choosing between `asset/inline`, `asset/resource` based on asset size limit (8096).
62
+ */
63
+ exports.ASSET_MODULE_TYPE = 'asset';
64
+ /**
65
+ * @type {Readonly<"asset/inline">}
66
+ * This is the module type used for assets that are inlined as a data URI. This is the equivalent of `url-loader`.
67
+ */
68
+ exports.ASSET_MODULE_TYPE_INLINE = 'asset/inline';
69
+ /**
70
+ * @type {Readonly<"asset/resource">}
71
+ * This is the module type used for assets that are copied to the output directory. This is the equivalent of `file-loader`.
72
+ */
73
+ exports.ASSET_MODULE_TYPE_RESOURCE = 'asset/resource';
74
+ /**
75
+ * @type {Readonly<"asset/source">}
76
+ * This is the module type used for assets that are imported as source code. This is the equivalent of `raw-loader`.
77
+ */
78
+ exports.ASSET_MODULE_TYPE_SOURCE = 'asset/source';
79
+ /**
80
+ * @type {Readonly<"asset/raw-data-url">}
81
+ * TODO: Document what this asset type is for. See css-loader tests for its usage.
82
+ */
83
+ exports.ASSET_MODULE_TYPE_RAW_DATA_URL = 'asset/raw-data-url';
84
+ /**
85
+ * @type {Readonly<"runtime">}
86
+ * This is the module type used for the webpack runtime abstractions.
87
+ */
88
+ exports.WEBPACK_MODULE_TYPE_RUNTIME = 'runtime';
89
+ /**
90
+ * @type {Readonly<"fallback-module">}
91
+ * This is the module type used for the ModuleFederation feature's FallbackModule class.
92
+ * TODO: Document this better.
93
+ */
94
+ exports.WEBPACK_MODULE_TYPE_FALLBACK = 'fallback-module';
95
+ /**
96
+ * @type {Readonly<"remote-module">}
97
+ * This is the module type used for the ModuleFederation feature's RemoteModule class.
98
+ * TODO: Document this better.
99
+ */
100
+ exports.WEBPACK_MODULE_TYPE_REMOTE = 'remote-module';
101
+ /**
102
+ * @type {Readonly<"provide-module">}
103
+ * This is the module type used for the ModuleFederation feature's ProvideModule class.
104
+ * TODO: Document this better.
105
+ */
106
+ exports.WEBPACK_MODULE_TYPE_PROVIDE = 'provide-module';
107
+ /**
108
+ * @type {Readonly<"consume-shared-module">}
109
+ * This is the module type used for the ModuleFederation feature's ConsumeSharedModule class.
110
+ */
111
+ exports.WEBPACK_MODULE_TYPE_CONSUME_SHARED_MODULE = 'consume-shared-module';
112
+ /**
113
+ * @type {Readonly<"lazy-compilation-proxy">}
114
+ * Module type used for `experiments.lazyCompilation` feature. See `LazyCompilationPlugin` for more information.
115
+ */
116
+ exports.WEBPACK_MODULE_TYPE_LAZY_COMPILATION_PROXY = 'lazy-compilation-proxy';
117
+ /** @typedef {"javascript/auto" | "javascript/dynamic" | "javascript/esm"} JavaScriptModuleTypes */
118
+ /** @typedef {"json"} JSONModuleType */
119
+ /** @typedef {"webassembly/async" | "webassembly/sync"} WebAssemblyModuleTypes */
120
+ /** @typedef {"css" | "css/global" | "css/module"} CSSModuleTypes */
121
+ /** @typedef {"asset" | "asset/inline" | "asset/resource" | "asset/source" | "asset/raw-data-url"} AssetModuleTypes */
122
+ /** @typedef {"runtime" | "fallback-module" | "remote-module" | "provide-module" | "consume-shared-module" | "lazy-compilation-proxy"} WebpackModuleTypes */
123
+ /** @typedef {string} UnknownModuleTypes */
124
+ /** @typedef {JavaScriptModuleTypes | JSONModuleType | WebAssemblyModuleTypes | CSSModuleTypes | AssetModuleTypes | WebpackModuleTypes | UnknownModuleTypes} ModuleTypes */
125
+ //# sourceMappingURL=Constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/lib/Constants.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF;;GAEG;AACU,Q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3C,2KAA2K"}
File without changes
@@ -0,0 +1,316 @@
1
+ /*
2
+ MIT License http://www.opensource.org/licenses/mit-license.php
3
+ Author Tobias Koppers @sokra
4
+ */
5
+ 'use strict';
6
+ /**
7
+ * the internal require function
8
+ */
9
+ exports.require = '__webpack_require__';
10
+ /**
11
+ * access to properties of the internal require function/object
12
+ */
13
+ exports.requireScope = '__webpack_require__.*';
14
+ /**
15
+ * the internal exports object
16
+ */
17
+ exports.exports = '__webpack_exports__';
18
+ /**
19
+ * top-level this need to be the exports object
20
+ */
21
+ exports.thisAsExports = 'top-level-this-exports';
22
+ /**
23
+ * runtime need to return the exports of the last entry module
24
+ */
25
+ exports.returnExportsFromRuntime = 'return-exports-from-runtime';
26
+ /**
27
+ * the internal module object
28
+ */
29
+ exports.module = 'module';
30
+ /**
31
+ * the internal module object
32
+ */
33
+ exports.moduleId = 'module.id';
34
+ /**
35
+ * the internal module object
36
+ */
37
+ exports.moduleLoaded = 'module.loaded';
38
+ /**
39
+ * the bundle public path
40
+ */
41
+ exports.publicPath = '__webpack_require__.p';
42
+ /**
43
+ * the module id of the entry point
44
+ */
45
+ exports.entryModuleId = '__webpack_require__.s';
46
+ /**
47
+ * the module cache
48
+ */
49
+ exports.moduleCache = '__webpack_require__.c';
50
+ /**
51
+ * the module functions
52
+ */
53
+ exports.moduleFactories = '__webpack_require__.m';
54
+ /**
55
+ * the module functions, with only write access
56
+ */
57
+ exports.moduleFactoriesAddOnly = '__webpack_require__.m (add only)';
58
+ /**
59
+ * the chunk ensure function
60
+ */
61
+ exports.ensureChunk = '__webpack_require__.e';
62
+ /**
63
+ * an object with handlers to ensure a chunk
64
+ */
65
+ exports.ensureChunkHandlers = '__webpack_require__.f';
66
+ /**
67
+ * a runtime requirement if ensureChunkHandlers should include loading of chunk needed for entries
68
+ */
69
+ exports.ensureChunkIncludeEntries = '__webpack_require__.f (include entries)';
70
+ /**
71
+ * the chunk prefetch function
72
+ */
73
+ exports.prefetchChunk = '__webpack_require__.E';
74
+ /**
75
+ * an object with handlers to prefetch a chunk
76
+ */
77
+ exports.prefetchChunkHandlers = '__webpack_require__.F';
78
+ /**
79
+ * the chunk preload function
80
+ */
81
+ exports.preloadChunk = '__webpack_require__.G';
82
+ /**
83
+ * an object with handlers to preload a chunk
84
+ */
85
+ exports.preloadChunkHandlers = '__webpack_require__.H';
86
+ /**
87
+ * the exported property define getters function
88
+ */
89
+ exports.definePropertyGetters = '__webpack_require__.d';
90
+ /**
91
+ * define compatibility on export
92
+ */
93
+ exports.makeNamespaceObject = '__webpack_require__.r';
94
+ /**
95
+ * create a fake namespace object
96
+ */
97
+ exports.createFakeNamespaceObject = '__webpack_require__.t';
98
+ /**
99
+ * compatibility get default export
100
+ */
101
+ exports.compatGetDefaultExport = '__webpack_require__.n';
102
+ /**
103
+ * harmony module decorator
104
+ */
105
+ exports.harmonyModuleDecorator = '__webpack_require__.hmd';
106
+ /**
107
+ * node.js module decorator
108
+ */
109
+ exports.nodeModuleDecorator = '__webpack_require__.nmd';
110
+ /**
111
+ * the webpack hash
112
+ */
113
+ exports.getFullHash = '__webpack_require__.h';
114
+ /**
115
+ * an object containing all installed WebAssembly.Instance export objects keyed by module id
116
+ */
117
+ exports.wasmInstances = '__webpack_require__.w';
118
+ /**
119
+ * instantiate a wasm instance from module exports object, id, hash and importsObject
120
+ */
121
+ exports.instantiateWasm = '__webpack_require__.v';
122
+ /**
123
+ * the uncaught error handler for the webpack runtime
124
+ */
125
+ exports.uncaughtErrorHandler = '__webpack_require__.oe';
126
+ /**
127
+ * the script nonce
128
+ */
129
+ exports.scriptNonce = '__webpack_require__.nc';
130
+ /**
131
+ * function to load a script tag.
132
+ * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
133
+ * done function is called when loading has finished or timeout occurred.
134
+ * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
135
+ */
136
+ exports.loadScript = '__webpack_require__.l';
137
+ /**
138
+ * function to promote a string to a TrustedScript using webpack's Trusted
139
+ * Types policy
140
+ * Arguments: (script: string) => TrustedScript
141
+ */
142
+ exports.createScript = '__webpack_require__.ts';
143
+ /**
144
+ * function to promote a string to a TrustedScriptURL using webpack's Trusted
145
+ * Types policy
146
+ * Arguments: (url: string) => TrustedScriptURL
147
+ */
148
+ exports.createScriptUrl = '__webpack_require__.tu';
149
+ /**
150
+ * function to return webpack's Trusted Types policy
151
+ * Arguments: () => TrustedTypePolicy
152
+ */
153
+ exports.getTrustedTypesPolicy = '__webpack_require__.tt';
154
+ /**
155
+ * a flag when a chunk has a fetch priority
156
+ */
157
+ exports.hasFetchPriority = 'has fetch priority';
158
+ /**
159
+ * the chunk name of the chunk with the runtime
160
+ */
161
+ exports.chunkName = '__webpack_require__.cn';
162
+ /**
163
+ * the runtime id of the current runtime
164
+ */
165
+ exports.runtimeId = '__webpack_require__.j';
166
+ /**
167
+ * the filename of the script part of the chunk
168
+ */
169
+ exports.getChunkScriptFilename = '__webpack_require__.u';
170
+ /**
171
+ * the filename of the css part of the chunk
172
+ */
173
+ exports.getChunkCssFilename = '__webpack_require__.k';
174
+ /**
175
+ * a flag when a module/chunk/tree has css modules
176
+ */
177
+ exports.hasCssModules = 'has css modules';
178
+ /**
179
+ * the filename of the script part of the hot update chunk
180
+ */
181
+ exports.getChunkUpdateScriptFilename = '__webpack_require__.hu';
182
+ /**
183
+ * the filename of the css part of the hot update chunk
184
+ */
185
+ exports.getChunkUpdateCssFilename = '__webpack_require__.hk';
186
+ /**
187
+ * startup signal from runtime
188
+ * This will be called when the runtime chunk has been loaded.
189
+ */
190
+ exports.startup = '__webpack_require__.x';
191
+ /**
192
+ * @deprecated
193
+ * creating a default startup function with the entry modules
194
+ */
195
+ exports.startupNoDefault = '__webpack_require__.x (no default handler)';
196
+ /**
197
+ * startup signal from runtime but only used to add logic after the startup
198
+ */
199
+ exports.startupOnlyAfter = '__webpack_require__.x (only after)';
200
+ /**
201
+ * startup signal from runtime but only used to add sync logic before the startup
202
+ */
203
+ exports.startupOnlyBefore = '__webpack_require__.x (only before)';
204
+ /**
205
+ * global callback functions for installing chunks
206
+ */
207
+ exports.chunkCallback = 'webpackChunk';
208
+ /**
209
+ * method to startup an entrypoint with needed chunks.
210
+ * Signature: (moduleId: Id, chunkIds: Id[]) => any.
211
+ * Returns the exports of the module or a Promise
212
+ */
213
+ exports.startupEntrypoint = '__webpack_require__.X';
214
+ /**
215
+ * register deferred code, which will run when certain
216
+ * chunks are loaded.
217
+ * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
218
+ * Returned value will be returned directly when all chunks are already loaded
219
+ * When (priority & 1) it will wait for all other handlers with lower priority to
220
+ * be executed before itself is executed
221
+ */
222
+ exports.onChunksLoaded = '__webpack_require__.O';
223
+ /**
224
+ * method to install a chunk that was loaded somehow
225
+ * Signature: ({ id, ids, modules, runtime }) => void
226
+ */
227
+ exports.externalInstallChunk = '__webpack_require__.C';
228
+ /**
229
+ * interceptor for module executions
230
+ */
231
+ exports.interceptModuleExecution = '__webpack_require__.i';
232
+ /**
233
+ * the global object
234
+ */
235
+ exports.global = '__webpack_require__.g';
236
+ /**
237
+ * an object with all share scopes
238
+ */
239
+ exports.shareScopeMap = '__webpack_require__.S';
240
+ /**
241
+ * The sharing init sequence function (only runs once per share scope).
242
+ * Has one argument, the name of the share scope.
243
+ * Creates a share scope if not existing
244
+ */
245
+ exports.initializeSharing = '__webpack_require__.I';
246
+ /**
247
+ * The current scope when getting a module from a remote
248
+ */
249
+ exports.currentRemoteGetScope = '__webpack_require__.R';
250
+ /**
251
+ * the filename of the HMR manifest
252
+ */
253
+ exports.getUpdateManifestFilename = '__webpack_require__.hmrF';
254
+ /**
255
+ * function downloading the update manifest
256
+ */
257
+ exports.hmrDownloadManifest = '__webpack_require__.hmrM';
258
+ /**
259
+ * array with handler functions to download chunk updates
260
+ */
261
+ exports.hmrDownloadUpdateHandlers = '__webpack_require__.hmrC';
262
+ /**
263
+ * object with all hmr module data for all modules
264
+ */
265
+ exports.hmrModuleData = '__webpack_require__.hmrD';
266
+ /**
267
+ * array with handler functions when a module should be invalidated
268
+ */
269
+ exports.hmrInvalidateModuleHandlers = '__webpack_require__.hmrI';
270
+ /**
271
+ * the prefix for storing state of runtime modules when hmr is enabled
272
+ */
273
+ exports.hmrRuntimeStatePrefix = '__webpack_require__.hmrS';
274
+ /**
275
+ * the AMD define function
276
+ */
277
+ exports.amdDefine = '__webpack_require__.amdD';
278
+ /**
279
+ * the AMD options
280
+ */
281
+ exports.amdOptions = '__webpack_require__.amdO';
282
+ /**
283
+ * the System polyfill object
284
+ */
285
+ exports.system = '__webpack_require__.System';
286
+ /**
287
+ * the shorthand for Object.prototype.hasOwnProperty
288
+ * using of it decreases the compiled bundle size
289
+ */
290
+ exports.hasOwnProperty = '__webpack_require__.o';
291
+ /**
292
+ * the System.register context object
293
+ */
294
+ exports.systemContext = '__webpack_require__.y';
295
+ /**
296
+ * the baseURI of current document
297
+ */
298
+ exports.baseURI = '__webpack_require__.b';
299
+ /**
300
+ * a RelativeURL class when relative URLs are used
301
+ */
302
+ exports.relativeUrl = '__webpack_require__.U';
303
+ /**
304
+ * Creates an async module. The body function must be a async function.
305
+ * "module.exports" will be decorated with an AsyncModulePromise.
306
+ * The body function will be called.
307
+ * To handle async dependencies correctly do this: "([a, b, c] = await handleDependencies([a, b, c]));".
308
+ * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
309
+ * Signature: function(
310
+ * module: Module,
311
+ * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
312
+ * hasAwaitAfterDependencies?: boolean
313
+ * ) => void
314
+ */
315
+ exports.asyncModule = '__webpack_require__.a';
316
+ //# sourceMappingURL=RuntimeGlobals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuntimeGlobals.js","sourceRoot":"","sources":["../../../src/lib/RuntimeGlobals.ts"],"names":[],"mappings":"AAAA;;;EAGE;AAEF,YAAY,CAAC;AAEb;;GAEG;AACH,OAAO,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E/C;;GAEG;AACH,OAAO,CAAC,UAAU,GAAG,0BAA0B,CAAC;AAEhD;;GAEG;AACH,OAAO,CAAC,MAAM,GAAG,4BAA4B,CAAC;AAE9C;;;GAGG;AACH,OAAO,CAAC,cAAc,GAAG,uBAAuB,CAAC;AAEjD;;GAEG;AACH,OAAO,CAAC,aAAa,GAAG,uBAAuB,CAAC;AAEhD;;GAEG;AACH,OAAO,CAAC,OAAO,GAAG,uBAAuB,CAAC;AAE1C;;GAEG;AACH,OAAO,CAAC,WAAW,GAAG,uBAAuB,CAAC;AAE9C;;;;;;;;;;;GAWG;AACH,OAAO,CAAC,WAAW,GAAG,uBAAuB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { Compiler, Compilation, Chunk, Module } from 'webpack';
2
+ export interface Options {
3
+ eager?: RegExp | ((module: Module) => boolean);
4
+ excludeChunk?: (chunk: Chunk) => boolean;
5
+ }
6
+ declare class AsyncEntryStartupPlugin {
7
+ private _options;
8
+ private _runtimeChunks;
9
+ constructor(options?: Options);
10
+ apply(compiler: Compiler): void;
11
+ private _collectRuntimeChunks;
12
+ getChunkByName(compilation: Compilation, dependOn: string[]): (string | number | undefined)[];
13
+ private _handleRenderStartup;
14
+ private _getChunkRuntime;
15
+ private _getRemotes;
16
+ private _getShared;
17
+ private _getInitialEntryModules;
18
+ private _getTemplateString;
19
+ }
20
+ export default AsyncEntryStartupPlugin;