@module-federation/nextjs-mf 6.1.0 → 6.1.2
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/CHANGELOG.md +21 -0
- package/README.md +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [6.1.2](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-6.1.1...nextjs-mf-6.1.2) (2023-02-09)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `node` updated to version `0.11.1`
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* backward compatability with older versions pre 6.1.x ([f27b57a](https://github.com/module-federation/nextjs-mf/commit/f27b57a36a61280124bab4a309edaa1c3fd04ced))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.1.1](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-6.1.0...nextjs-mf-6.1.1) (2023-02-09)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* resolve NX build version issues ([c5f7274](https://github.com/module-federation/nextjs-mf/commit/c5f7274265ce325dda3c324074c808cce95699fd))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
5
26
|
# [6.1.0](https://github.com/module-federation/nextjs-mf/compare/nextjs-mf-6.0.8...nextjs-mf-6.1.0) (2023-02-09)
|
|
6
27
|
|
|
7
28
|
### Dependency Updates
|
package/README.md
CHANGED
|
@@ -280,7 +280,7 @@ If an error occurs while loading the script, a custom error object is created an
|
|
|
280
280
|
|
|
281
281
|
```js
|
|
282
282
|
//next.config.js
|
|
283
|
-
const {createDelegatedModule} = require('@module-federation/utilities');
|
|
283
|
+
const { createDelegatedModule } = require('@module-federation/utilities');
|
|
284
284
|
const remotes = {
|
|
285
285
|
checkout: createDelegatedModule(require.resolve('./remote-delegate.js'), {
|
|
286
286
|
remote: `checkout@http://localhost:3002/_next/static/${
|
|
@@ -337,7 +337,7 @@ For more information on `__resourceQuery` visit: https://webpack.js.org/api/modu
|
|
|
337
337
|
// next.config.js
|
|
338
338
|
|
|
339
339
|
const remotes = {
|
|
340
|
-
// pass pointer to remote-delegate, pass
|
|
340
|
+
// pass pointer to remote-delegate, pass delegate remote name as query param,
|
|
341
341
|
// at runtime webpack will pass this as __resourceQuery
|
|
342
342
|
shop: `internal ./remote-delegate.js?remote=shop@http://localhost:3001/_next/static/${
|
|
343
343
|
isServer ? 'ssr' : 'chunks'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/nextjs-mf",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"registry": "https://registry.npmjs.org/"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@module-federation/node": "
|
|
19
|
+
"@module-federation/node": "0.11.0",
|
|
20
20
|
"eventemitter3": "4.0.7",
|
|
21
21
|
"fast-glob": "3.2.12",
|
|
22
22
|
"webpack-sources": "3.2.3",
|