File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ const { withNx } = require('@nx/next/plugins/with-nx');
2
2
const NextFederationPlugin = require ( '@module-federation/nextjs-mf' ) ;
3
3
4
4
/**
5
- * @type {import('@nrwl /next/plugins/with-nx').WithNxOptions }
5
+ * @type {import('@nx /next/plugins/with-nx').WithNxOptions }
6
6
**/
7
7
const nextConfig = {
8
8
nx : {
@@ -39,8 +39,8 @@ const nextConfig = {
39
39
'./menu' : './components/menu' ,
40
40
} ,
41
41
shared : {
42
- lodash : { } ,
43
- antd : { } ,
42
+ ' lodash/' : { } ,
43
+ ' antd/' : { } ,
44
44
} ,
45
45
extraOptions : {
46
46
debug : false ,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const Home = () => {
93
93
< td >
94
94
Load federated component from checkout with old antd version
95
95
</ td >
96
- < td > [Button from antd@4.20.0 ]</ td >
96
+ < td > [Button from antd@4.24.15 ]</ td >
97
97
< td >
98
98
< Suspense fallback = "loading ButtonOldAnt" >
99
99
< ButtonOldAnt />
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ const nextConfig = {
31
31
'./menu' : './components/menu' ,
32
32
} ,
33
33
shared : {
34
- lodash : { } ,
35
- antd : { } ,
34
+ ' lodash/' : { } ,
35
+ ' antd/' : { } ,
36
36
} ,
37
37
extraOptions : {
38
38
exposePages : true ,
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ const nextConfig = {
30
30
'./menu' : './components/menu' ,
31
31
} ,
32
32
shared : {
33
- lodash : { } ,
34
- antd : { } ,
33
+ ' lodash/' : { } ,
34
+ ' antd/' : { } ,
35
35
} ,
36
36
extraOptions : {
37
37
exposePages : true ,
You can’t perform that action at this time.
0 commit comments