@module-federation/webpack-bundler-runtime 0.0.12 → 0.0.14
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/README.md +3 -5
- package/dist/package.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,15 +9,13 @@ The package needs to be used with webpack/rspack bundler. It will export federat
|
|
|
9
9
|
|
|
10
10
|
After referencing, mount it to the corresponding bundler runtime, and then use the corresponding api/instance.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
- example
|
|
13
13
|
|
|
14
14
|
```ts
|
|
15
15
|
import federation from '@module-federation/webpack-bundler-runtime';
|
|
16
16
|
|
|
17
17
|
__webpack_require__.federation = federation;
|
|
18
18
|
|
|
19
|
-
__webpack_require__.f.remotes = __webpack_require__.federation.remotes(options)
|
|
20
|
-
__webpack_require__.f.consumes = __webpack_require__.federation.remotes(options)
|
|
19
|
+
__webpack_require__.f.remotes = __webpack_require__.federation.remotes(options);
|
|
20
|
+
__webpack_require__.f.consumes = __webpack_require__.federation.remotes(options);
|
|
21
21
|
```
|
|
22
|
-
|
|
23
|
-
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/webpack-bundler-runtime",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Module Federation Runtime for webpack",
|
|
7
7
|
"keywords": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"module": "./dist/index.esm.js",
|
|
21
21
|
"types": "./dist/index.cjs.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@module-federation/runtime": "0.0.
|
|
24
|
-
"@module-federation/sdk": "0.0.
|
|
23
|
+
"@module-federation/runtime": "0.0.14",
|
|
24
|
+
"@module-federation/sdk": "0.0.14"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|